IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2004, 12:33:28 PM (22 years ago)
Author:
gusciora
Message:

Tests for the SubtractBias module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/configure

    r2125 r2132  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.57.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     6# Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    2021  set -o posix
    2122fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    2323
    2424# Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    2626  as_unset=unset
    2727else
     
    4242  LC_TELEPHONE LC_TIME
    4343do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     44  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4545    eval $as_var=C; export $as_var
    4646  else
     
    219219  as_mkdir_p=:
    220220else
    221   test -d ./-p && rmdir ./-p
    222221  as_mkdir_p=false
    223222fi
     
    226225
    227226# Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    229228
    230229# Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    232231
    233232
     
    241240$as_unset CDPATH
    242241
     242
     243# Find the correct PATH separator.  Usually this is `:', but
     244# DJGPP uses `;' like DOS.
     245if test "X${PATH_SEPARATOR+set}" != Xset; then
     246  UNAME=${UNAME-`uname 2>/dev/null`}
     247  case X$UNAME in
     248    *-DOS) lt_cv_sys_path_separator=';' ;;
     249    *)     lt_cv_sys_path_separator=':' ;;
     250  esac
     251  PATH_SEPARATOR=$lt_cv_sys_path_separator
     252fi
    243253
    244254
     
    260270  # Avoid inline document here, it may be left over
    261271  :
    262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
     272elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
    263273  # Yippee, $echo works!
    264274  :
     
    272282  shift
    273283  cat <<EOF
    274 $*
     284
    275285EOF
    276286  exit 0
     
    306316  # So, first we look for a working echo in the user's PATH.
    307317
    308   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     318  IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    309319  for dir in $PATH /usr/ucb; do
    310     IFS="$lt_save_ifs"
    311320    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    312321       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
     
    317326    fi
    318327  done
    319   IFS="$lt_save_ifs"
     328  IFS="$save_ifs"
    320329
    321330  if test "X$echo" = Xecho; then
     
    391400
    392401
    393 
    394 tagnames=${tagnames+${tagnames},}CXX
    395 
    396 tagnames=${tagnames+${tagnames},}F77
    397 
    398402# Name of the host.
    399403# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     
    464468#endif"
    465469
    466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'
     470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'
    467471ac_subst_files=''
    468472
     
    823827# Be sure to have absolute paths.
    824828for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    825               localstatedir libdir includedir oldincludedir infodir mandir
     829              localstatedir libdir includedir oldincludedir infodir mandir
    826830do
    827831  eval ac_val=$`echo $ac_var`
     
    863867  ac_confdir=`(dirname "$0") 2>/dev/null ||
    864868$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    865         X"$0" : 'X\(//\)[^/]' \| \
    866         X"$0" : 'X\(//\)$' \| \
    867         X"$0" : 'X\(/\)' \| \
    868         .     : '\(.\)' 2>/dev/null ||
     869        X"$0" : 'X\(//\)[^/]' \| \
     870        X"$0" : 'X\(//\)$' \| \
     871        X"$0" : 'X\(/\)' \| \
     872        .     : '\(.\)' 2>/dev/null ||
    869873echo X"$0" |
    870874    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    925929ac_cv_env_CPP_set=${CPP+set}
    926930ac_cv_env_CPP_value=$CPP
    927 ac_env_CXX_set=${CXX+set}
    928 ac_env_CXX_value=$CXX
    929 ac_cv_env_CXX_set=${CXX+set}
    930 ac_cv_env_CXX_value=$CXX
    931 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    932 ac_env_CXXFLAGS_value=$CXXFLAGS
    933 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    934 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    935 ac_env_CXXCPP_set=${CXXCPP+set}
    936 ac_env_CXXCPP_value=$CXXCPP
    937 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    938 ac_cv_env_CXXCPP_value=$CXXCPP
    939 ac_env_F77_set=${F77+set}
    940 ac_env_F77_value=$F77
    941 ac_cv_env_F77_set=${F77+set}
    942 ac_cv_env_F77_value=$F77
    943 ac_env_FFLAGS_set=${FFLAGS+set}
    944 ac_env_FFLAGS_value=$FFLAGS
    945 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    946 ac_cv_env_FFLAGS_value=$FFLAGS
    947931
    948932#
     
    978962Installation directories:
    979963  --prefix=PREFIX         install architecture-independent files in PREFIX
    980                           [$ac_default_prefix]
     964                          [$ac_default_prefix]
    981965  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    982                           [PREFIX]
     966                          [PREFIX]
    983967
    984968By default, \`make install' will install all the files in
     
    10241008  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    10251009  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1026   --disable-dependency-tracking  speeds up one-time build
    1027   --enable-dependency-tracking   do not reject slow dependency extractors
    1028   --enable-shared[=PKGS]
    1029                           build shared libraries [default=yes]
    1030   --enable-static[=PKGS]
    1031                           build static libraries [default=yes]
    1032   --enable-fast-install[=PKGS]
    1033                           optimize for fast installation [default=yes]
     1010  --disable-dependency-tracking Speeds up one-time builds
     1011  --enable-dependency-tracking  Do not reject slow dependency extractors
     1012  --enable-shared=PKGS  build shared libraries default=yes
     1013  --enable-static=PKGS  build static libraries default=yes
     1014  --enable-fast-install=PKGS  optimize for fast installation default=yes
    10341015  --disable-libtool-lock  avoid locking (might break parallel builds)
    10351016
     
    10371018  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    10381019  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1039   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1040   --with-pic              try to use only PIC/non-PIC objects [default=use
    1041                           both]
    1042   --with-tags[=TAGS]
    1043                           include additional configurations [automatic]
     1020  --with-gnu-ld           assume the C compiler uses GNU ld default=no
     1021  --with-pic              try to use only PIC/non-PIC objects default=use both
    10441022  --with-psLib=DIR        Specify location of psLib files
    10451023  --with-sla=DIR          Specify location of SLA.
     
    10561034              headers in a nonstandard directory <include dir>
    10571035  CPP         C preprocessor
    1058   CXX         C++ compiler command
    1059   CXXFLAGS    C++ compiler flags
    1060   CXXCPP      C++ preprocessor
    1061   F77         Fortran 77 compiler command
    1062   FFLAGS      Fortran 77 compiler flags
    10631036
    10641037Use these variables to override the choices made by `configure' or to help
     
    10981071    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    10991072esac
    1100 
    1101 # Do not use `cd foo && pwd` to compute absolute paths, because
    1102 # the directories may not exist.
    1103 case `pwd` in
    1104 .) ac_abs_builddir="$ac_dir";;
    1105 *)
    1106   case "$ac_dir" in
    1107   .) ac_abs_builddir=`pwd`;;
    1108   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    1109   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    1110   esac;;
    1111 esac
    1112 case $ac_abs_builddir in
    1113 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    1114 *)
    1115   case ${ac_top_builddir}. in
    1116   .) ac_abs_top_builddir=$ac_abs_builddir;;
    1117   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    1118   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    1119   esac;;
    1120 esac
    1121 case $ac_abs_builddir in
    1122 .) ac_abs_srcdir=$ac_srcdir;;
    1123 *)
    1124   case $ac_srcdir in
    1125   .) ac_abs_srcdir=$ac_abs_builddir;;
    1126   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    1127   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    1128   esac;;
    1129 esac
    1130 case $ac_abs_builddir in
    1131 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    1132 *)
    1133   case $ac_top_srcdir in
    1134   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    1135   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    1136   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    1137   esac;;
    1138 esac
     1073# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     1074# absolute.
     1075ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     1076ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     1077ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     1078ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    11391079
    11401080    cd $ac_dir
     
    11471087      $SHELL $ac_srcdir/configure  --help=recursive
    11481088    elif test -f $ac_srcdir/configure.ac ||
    1149            test -f $ac_srcdir/configure.in; then
     1089           test -f $ac_srcdir/configure.in; then
    11501090      echo
    11511091      $ac_configure --help
     
    11611101  cat <<\_ACEOF
    11621102
    1163 Copyright (C) 2003 Free Software Foundation, Inc.
     1103Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     1104Free Software Foundation, Inc.
    11641105This configure script is free software; the Free Software Foundation
    11651106gives unlimited permission to copy, distribute and modify it.
     
    11731114
    11741115It was created by $as_me, which was
    1175 generated by GNU Autoconf 2.59.  Invocation command line was
     1116generated by GNU Autoconf 2.57.  Invocation command line was
    11761117
    11771118  $ $0 $@
     
    12501191      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    12511192      if test $ac_must_keep_next = true; then
    1252         ac_must_keep_next=false # Got value, back to normal.
     1193        ac_must_keep_next=false # Got value, back to normal.
    12531194      else
    1254         case $ac_arg in
    1255           *=* | --config-cache | -C | -disable-* | --disable-* \
    1256           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1257           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1258           | -with-* | --with-* | -without-* | --without-* | --x)
    1259             case "$ac_configure_args0 " in
    1260               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1261             esac
    1262             ;;
    1263           -* ) ac_must_keep_next=true ;;
    1264         esac
     1195        case $ac_arg in
     1196          *=* | --config-cache | -C | -disable-* | --disable-* \
     1197          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1198          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1199          | -with-* | --with-* | -without-* | --without-* | --x)
     1200            case "$ac_configure_args0 " in
     1201              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1202            esac
     1203            ;;
     1204          -* ) ac_must_keep_next=true ;;
     1205        esac
    12651206      fi
    12661207      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    12961237    *ac_space=\ *)
    12971238      sed -n \
    1298         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1299           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1239        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1240          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    13001241      ;;
    13011242    *)
    13021243      sed -n \
    1303         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1244        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    13041245      ;;
    13051246    esac;
     
    13301271      do
    13311272        eval ac_val=$`echo $ac_var`
    1332         echo "$ac_var='"'"'$ac_val'"'"'"
     1273        echo "$ac_var='"'"'$ac_val'"'"'"
    13331274      done | sort
    13341275      echo
     
    13491290    echo "$as_me: exit $exit_status"
    13501291  } >&5
    1351   rm -f core *.core &&
     1292  rm -f core core.* *.core &&
    13521293  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    13531294    exit $exit_status
     
    14291370ac_cache_corrupted=false
    14301371for ac_var in `(set) 2>&1 |
    1431                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1372               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    14321373  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    14331374  eval ac_new_set=\$ac_env_${ac_var}_set
     
    14461387    *)
    14471388      if test "x$ac_old_val" != "x$ac_new_val"; then
    1448         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1389        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    14491390echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1450         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1391        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    14511392echo "$as_me:   former value:  $ac_old_val" >&2;}
    1452         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1393        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    14531394echo "$as_me:   current value: $ac_new_val" >&2;}
    1454         ac_cache_corrupted=:
     1395        ac_cache_corrupted=:
    14551396      fi;;
    14561397  esac
     
    15011442
    15021443
     1444# Add the stamp file to the list of files AC keeps track of,
     1445# along with our hook.
    15031446          ac_config_headers="$ac_config_headers src/config.h"
    15041447
    1505 am__api_version="1.8"
     1448
     1449
     1450am__api_version="1.6"
    15061451ac_aux_dir=
    15071452for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    15401485# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    15411486# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1542 # OS/2's system install, which has a completely different semantic
    15431487# ./install, which can be erroneously created by make from ./install.sh.
    15441488echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    15571501  ./ | .// | /cC/* | \
    15581502  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    1559   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    15601503  /usr/ucb/* ) ;;
    15611504  *)
     
    15651508    for ac_prog in ginstall scoinst install; do
    15661509      for ac_exec_ext in '' $ac_executable_extensions; do
    1567         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1568           if test $ac_prog = install &&
    1569             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1570             # AIX install.  It has an incompatible calling convention.
    1571             :
    1572           elif test $ac_prog = install &&
    1573             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1574             # program-specific install script used by HP pwplus--don't use.
    1575             :
    1576           else
    1577             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1578             break 3
    1579           fi
    1580         fi
     1510        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1511          if test $ac_prog = install &&
     1512            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1513            # AIX install.  It has an incompatible calling convention.
     1514            :
     1515          elif test $ac_prog = install &&
     1516            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1517            # program-specific install script used by HP pwplus--don't use.
     1518            :
     1519          else
     1520            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1521            break 3
     1522          fi
     1523        fi
    15811524      done
    15821525    done
     
    16661609rm conftest.sed
    16671610
     1611
    16681612# expand $ac_aux_dir to an absolute path
    16691613am_aux_dir=`cd $ac_aux_dir && pwd`
     
    16771621  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    16781622echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    1679 fi
    1680 
    1681 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    1682   # Keeping the `.' argument allows $(mkdir_p) to be used without
    1683   # argument.  Indeed, we sometimes output rules like
    1684   #   $(mkdir_p) $(somedir)
    1685   # where $(somedir) is conditionally defined.
    1686   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
    1687   # expensive solution, as it forces Make to start a sub-shell.)
    1688   mkdir_p='mkdir -p -- .'
    1689 else
    1690   # On NextStep and OpenStep, the `mkdir' command does not
    1691   # recognize any option.  It will interpret all options as
    1692   # directories to create, and then abort because `.' already
    1693   # exists.
    1694   for d in ./-p ./--version;
    1695   do
    1696     test -d $d && rmdir $d
    1697   done
    1698   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    1699   if test -f "$ac_aux_dir/mkinstalldirs"; then
    1700     mkdir_p='$(mkinstalldirs)'
    1701   else
    1702     mkdir_p='$(install_sh) -d'
    1703   fi
    17041623fi
    17051624
     
    17461665echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    17471666echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1748 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     1667set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    17491668if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    17501669  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17731692fi
    17741693
    1775 rm -rf .tst 2>/dev/null
    1776 mkdir .tst 2>/dev/null
    1777 if test -d .tst; then
    1778   am__leading_dot=.
    1779 else
    1780   am__leading_dot=_
    1781 fi
    1782 rmdir .tst 2>/dev/null
    1783 
    1784 # test to see if srcdir already configured
     1694 # test to see if srcdir already configured
    17851695if test "`cd $srcdir && pwd`" != "`pwd`" &&
    17861696   test -f $srcdir/config.status; then
     
    17891699   { (exit 1); exit 1; }; }
    17901700fi
    1791 
    1792 # test whether we have cygpath
    1793 if test -z "$CYGPATH_W"; then
    1794   if (cygpath --version) >/dev/null 2>/dev/null; then
    1795     CYGPATH_W='cygpath -w'
    1796   else
    1797     CYGPATH_W=echo
    1798   fi
    1799 fi
    1800 
    18011701
    18021702# Define the identity of the package.
     
    22712171
    22722172cat >conftest.$ac_ext <<_ACEOF
     2173#line $LINENO "configure"
    22732174/* confdefs.h.  */
    22742175_ACEOF
     
    22902191# It will help us diagnose broken compilers, and finding out an intuition
    22912192# of exeext.
    2292 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2293 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2193echo "$as_me:$LINENO: checking for C compiler default output" >&5
     2194echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    22942195ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    22952196if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    23112212  case $ac_file in
    23122213    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2313         ;;
     2214        ;;
    23142215    conftest.$ac_ext )
    2315         # This is the source file.
    2316         ;;
     2216        # This is the source file.
     2217        ;;
    23172218    [ab].out )
    2318         # We found the default executable, but exeext='' is most
    2319         # certainly right.
    2320         break;;
     2219        # We found the default executable, but exeext='' is most
     2220        # certainly right.
     2221        break;;
    23212222    *.* )
    2322         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2323         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2324         # but it would be cool to find out if it's true.  Does anybody
    2325         # maintain Libtool? --akim.
    2326         export ac_cv_exeext
    2327         break;;
     2223        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2224        # FIXME: I believe we export ac_cv_exeext for Libtool,
     2225        # but it would be cool to find out if it's true.  Does anybody
     2226        # maintain Libtool? --akim.
     2227        export ac_cv_exeext
     2228        break;;
    23282229    * )
    2329         break;;
     2230        break;;
    23302231  esac
    23312232done
     
    24012302    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    24022303    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2403           export ac_cv_exeext
    2404           break;;
     2304          export ac_cv_exeext
     2305          break;;
    24052306    * ) break;;
    24062307  esac
     
    24272328else
    24282329  cat >conftest.$ac_ext <<_ACEOF
     2330#line $LINENO "configure"
    24292331/* confdefs.h.  */
    24302332_ACEOF
     
    24772379else
    24782380  cat >conftest.$ac_ext <<_ACEOF
     2381#line $LINENO "configure"
    24792382/* confdefs.h.  */
    24802383_ACEOF
     
    24962399rm -f conftest.$ac_objext
    24972400if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2498   (eval $ac_compile) 2>conftest.er1
     2401  (eval $ac_compile) 2>&5
    24992402  ac_status=$?
    2500   grep -v '^ *+' conftest.er1 >conftest.err
    2501   rm -f conftest.er1
    2502   cat conftest.err >&5
    25032403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25042404  (exit $ac_status); } &&
    2505          { ac_try='test -z "$ac_c_werror_flag"
    2506                          || test ! -s conftest.err'
    2507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2508   (eval $ac_try) 2>&5
    2509   ac_status=$?
    2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2511   (exit $ac_status); }; } &&
    2512          { ac_try='test -s conftest.$ac_objext'
     2405         { ac_try='test -s conftest.$ac_objext'
    25132406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25142407  (eval $ac_try) 2>&5
     
    25232416ac_compiler_gnu=no
    25242417fi
    2525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2418rm -f conftest.$ac_objext conftest.$ac_ext
    25262419ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25272420
     
    25392432else
    25402433  cat >conftest.$ac_ext <<_ACEOF
     2434#line $LINENO "configure"
    25412435/* confdefs.h.  */
    25422436_ACEOF
     
    25552449rm -f conftest.$ac_objext
    25562450if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2557   (eval $ac_compile) 2>conftest.er1
     2451  (eval $ac_compile) 2>&5
    25582452  ac_status=$?
    2559   grep -v '^ *+' conftest.er1 >conftest.err
    2560   rm -f conftest.er1
    2561   cat conftest.err >&5
    25622453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25632454  (exit $ac_status); } &&
    2564          { ac_try='test -z "$ac_c_werror_flag"
    2565                          || test ! -s conftest.err'
    2566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2567   (eval $ac_try) 2>&5
    2568   ac_status=$?
    2569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2570   (exit $ac_status); }; } &&
    2571          { ac_try='test -s conftest.$ac_objext'
     2455         { ac_try='test -s conftest.$ac_objext'
    25722456  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25732457  (eval $ac_try) 2>&5
     
    25822466ac_cv_prog_cc_g=no
    25832467fi
    2584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2468rm -f conftest.$ac_objext conftest.$ac_ext
    25852469fi
    25862470echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    26092493ac_save_CC=$CC
    26102494cat >conftest.$ac_ext <<_ACEOF
     2495#line $LINENO "configure"
    26112496/* confdefs.h.  */
    26122497_ACEOF
     
    26362521  return s;
    26372522}
    2638 
    2639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2640    function prototypes and stuff, but not '\xHH' hex character constants.
    2641    These don't provoke an error unfortunately, instead are silently treated
    2642    as 'x'.  The following induces an error, until -std1 is added to get
    2643    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2644    array size at least.  It's necessary to write '\x00'==0 to get something
    2645    that's true only with -std1.  */
    2646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2647 
    26482523int test (int i, double x);
    26492524struct s1 {int (*f) (int a);};
     
    26722547  rm -f conftest.$ac_objext
    26732548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2674   (eval $ac_compile) 2>conftest.er1
     2549  (eval $ac_compile) 2>&5
    26752550  ac_status=$?
    2676   grep -v '^ *+' conftest.er1 >conftest.err
    2677   rm -f conftest.er1
    2678   cat conftest.err >&5
    26792551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26802552  (exit $ac_status); } &&
    2681          { ac_try='test -z "$ac_c_werror_flag"
    2682                          || test ! -s conftest.err'
    2683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2684   (eval $ac_try) 2>&5
    2685   ac_status=$?
    2686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2687   (exit $ac_status); }; } &&
    2688          { ac_try='test -s conftest.$ac_objext'
     2553         { ac_try='test -s conftest.$ac_objext'
    26892554  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26902555  (eval $ac_try) 2>&5
     
    26992564
    27002565fi
    2701 rm -f conftest.err conftest.$ac_objext
     2566rm -f conftest.$ac_objext
    27022567done
    27032568rm -f conftest.$ac_ext conftest.$ac_objext
     
    27272592rm -f conftest.$ac_objext
    27282593if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2729   (eval $ac_compile) 2>conftest.er1
     2594  (eval $ac_compile) 2>&5
    27302595  ac_status=$?
    2731   grep -v '^ *+' conftest.er1 >conftest.err
    2732   rm -f conftest.er1
    2733   cat conftest.err >&5
    27342596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27352597  (exit $ac_status); } &&
    2736          { ac_try='test -z "$ac_c_werror_flag"
    2737                          || test ! -s conftest.err'
    2738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2739   (eval $ac_try) 2>&5
    2740   ac_status=$?
    2741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2742   (exit $ac_status); }; } &&
    2743          { ac_try='test -s conftest.$ac_objext'
     2598         { ac_try='test -s conftest.$ac_objext'
    27442599  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27452600  (eval $ac_try) 2>&5
     
    27482603  (exit $ac_status); }; }; then
    27492604  for ac_declaration in \
    2750    '' \
     2605   ''\
     2606   '#include <stdlib.h>' \
    27512607   'extern "C" void std::exit (int) throw (); using std::exit;' \
    27522608   'extern "C" void std::exit (int); using std::exit;' \
     
    27562612do
    27572613  cat >conftest.$ac_ext <<_ACEOF
     2614#line $LINENO "configure"
    27582615/* confdefs.h.  */
    27592616_ACEOF
     
    27612618cat >>conftest.$ac_ext <<_ACEOF
    27622619/* end confdefs.h.  */
     2620#include <stdlib.h>
    27632621$ac_declaration
    2764 #include <stdlib.h>
    27652622int
    27662623main ()
     
    27732630rm -f conftest.$ac_objext
    27742631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2775   (eval $ac_compile) 2>conftest.er1
     2632  (eval $ac_compile) 2>&5
    27762633  ac_status=$?
    2777   grep -v '^ *+' conftest.er1 >conftest.err
    2778   rm -f conftest.er1
    2779   cat conftest.err >&5
    27802634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27812635  (exit $ac_status); } &&
    2782          { ac_try='test -z "$ac_c_werror_flag"
    2783                          || test ! -s conftest.err'
    2784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2785   (eval $ac_try) 2>&5
    2786   ac_status=$?
    2787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2788   (exit $ac_status); }; } &&
    2789          { ac_try='test -s conftest.$ac_objext'
     2636         { ac_try='test -s conftest.$ac_objext'
    27902637  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27912638  (eval $ac_try) 2>&5
     
    28002647continue
    28012648fi
    2802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2649rm -f conftest.$ac_objext conftest.$ac_ext
    28032650  cat >conftest.$ac_ext <<_ACEOF
     2651#line $LINENO "configure"
    28042652/* confdefs.h.  */
    28052653_ACEOF
     
    28182666rm -f conftest.$ac_objext
    28192667if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2820   (eval $ac_compile) 2>conftest.er1
     2668  (eval $ac_compile) 2>&5
    28212669  ac_status=$?
    2822   grep -v '^ *+' conftest.er1 >conftest.err
    2823   rm -f conftest.er1
    2824   cat conftest.err >&5
    28252670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28262671  (exit $ac_status); } &&
    2827          { ac_try='test -z "$ac_c_werror_flag"
    2828                          || test ! -s conftest.err'
    2829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2830   (eval $ac_try) 2>&5
    2831   ac_status=$?
    2832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2833   (exit $ac_status); }; } &&
    2834          { ac_try='test -s conftest.$ac_objext'
     2672         { ac_try='test -s conftest.$ac_objext'
    28352673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    28362674  (eval $ac_try) 2>&5
     
    28442682
    28452683fi
    2846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2684rm -f conftest.$ac_objext conftest.$ac_ext
    28472685done
    28482686rm -f conftest*
     
    28582696
    28592697fi
    2860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2698rm -f conftest.$ac_objext conftest.$ac_ext
    28612699ac_ext=c
    28622700ac_cpp='$CPP $CPPFLAGS'
     
    28642702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28652703ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2866 DEPDIR="${am__leading_dot}deps"
     2704rm -f .deps 2>/dev/null
     2705mkdir .deps 2>/dev/null
     2706if test -d .deps; then
     2707  DEPDIR=.deps
     2708else
     2709  # MS-DOS does not allow filenames that begin with a dot.
     2710  DEPDIR=_deps
     2711fi
     2712rmdir .deps 2>/dev/null
     2713
    28672714
    28682715          ac_config_commands="$ac_config_commands depfiles"
     
    28712718am_make=${MAKE-make}
    28722719cat > confinc << 'END'
    2873 am__doit:
     2720doit:
    28742721        @echo done
    2875 .PHONY: am__doit
    28762722END
    28772723# If we don't find an include directive, just comment out the code.
     
    28882734# be invoked under some other name (usually "gmake"), in which
    28892735# case it prints its new name instead of `make'.
    2890 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
     2736if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
    28912737   am__include=include
    28922738   am__quote=
     
    29482794  cp "$am_depcomp" conftest.dir
    29492795  cd conftest.dir
    2950   # We will build objects and dependencies in a subdirectory because
    2951   # it helps to detect inapplicable dependency modes.  For instance
    2952   # both Tru64's cc and ICC support -MD to output dependencies as a
    2953   # side effect of compilation, but ICC will put the dependencies in
    2954   # the current directory while Tru64 will put them in the object
    2955   # directory.
    2956   mkdir sub
    29572796
    29582797  am_cv_CC_dependencies_compiler_type=none
     
    29612800  fi
    29622801  for depmode in $am_compiler_list; do
    2963     # Setup a source with many dependencies, because some compilers
    2964     # like to wrap large dependency lists on column 80 (with \), and
    2965     # we should not choose a depcomp mode which is confused by this.
    2966     #
    29672802    # We need to recreate these files for each test, as the compiler may
    29682803    # overwrite some of them when testing with obscure command lines.
    29692804    # This happens at least with the AIX C compiler.
    2970     : > sub/conftest.c
    2971     for i in 1 2 3 4 5 6; do
    2972       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2973       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    2974       # Solaris 8's {/usr,}/bin/sh.
    2975       touch sub/conftst$i.h
    2976     done
    2977     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     2805    echo '#include "conftest.h"' > conftest.c
     2806    echo 'int i;' > conftest.h
     2807    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
    29782808
    29792809    case $depmode in
     
    29932823    # handle `-M -o', and we need to detect this.
    29942824    if depmode=$depmode \
    2995        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    2996        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    2997        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    2998          >/dev/null 2>conftest.err &&
    2999        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    3000        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     2825       source=conftest.c object=conftest.o \
     2826       depfile=conftest.Po tmpdepfile=conftest.TPo \
     2827       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
     2828       grep conftest.h conftest.Po > /dev/null 2>&1 &&
    30012829       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    3002       # icc doesn't choke on unknown options, it will just issue warnings
    3003       # (even with -Werror).  So we grep stderr for any message
    3004       # that says an option was ignored.
    3005       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    3006         am_cv_CC_dependencies_compiler_type=$depmode
    3007         break
    3008       fi
     2830      am_cv_CC_dependencies_compiler_type=$depmode
     2831      break
    30092832    fi
    30102833  done
     
    30202843echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    30212844CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    3022 
    3023 
    3024 
    3025 if
    3026   test "x$enable_dependency_tracking" != xno \
    3027   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    3028   am__fastdepCC_TRUE=
    3029   am__fastdepCC_FALSE='#'
    3030 else
    3031   am__fastdepCC_TRUE='#'
    3032   am__fastdepCC_FALSE=
    3033 fi
    30342845
    30352846
     
    30502861# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    30512862# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    3052 # OS/2's system install, which has a completely different semantic
    30532863# ./install, which can be erroneously created by make from ./install.sh.
    30542864echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    30672877  ./ | .// | /cC/* | \
    30682878  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3069   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    30702879  /usr/ucb/* ) ;;
    30712880  *)
     
    30752884    for ac_prog in ginstall scoinst install; do
    30762885      for ac_exec_ext in '' $ac_executable_extensions; do
    3077         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    3078           if test $ac_prog = install &&
    3079             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    3080             # AIX install.  It has an incompatible calling convention.
    3081             :
    3082           elif test $ac_prog = install &&
    3083             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    3084             # program-specific install script used by HP pwplus--don't use.
    3085             :
    3086           else
    3087             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3088             break 3
    3089           fi
    3090         fi
     2886        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2887          if test $ac_prog = install &&
     2888            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2889            # AIX install.  It has an incompatible calling convention.
     2890            :
     2891          elif test $ac_prog = install &&
     2892            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2893            # program-specific install script used by HP pwplus--don't use.
     2894            :
     2895          else
     2896            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2897            break 3
     2898          fi
     2899        fi
    30912900      done
    30922901    done
     
    31222931  enableval="$enable_shared"
    31232932  p=${PACKAGE-default}
    3124     case $enableval in
    3125     yes) enable_shared=yes ;;
    3126     no) enable_shared=no ;;
    3127     *)
    3128       enable_shared=no
    3129       # Look at the argument we got.  We use all the common list separators.
    3130       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3131       for pkg in $enableval; do
    3132         IFS="$lt_save_ifs"
    3133         if test "X$pkg" = "X$p"; then
    3134           enable_shared=yes
    3135         fi
    3136       done
    3137       IFS="$lt_save_ifs"
    3138       ;;
    3139     esac
     2933case $enableval in
     2934yes) enable_shared=yes ;;
     2935no) enable_shared=no ;;
     2936*)
     2937  enable_shared=no
     2938  # Look at the argument we got.  We use all the common list separators.
     2939  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     2940  for pkg in $enableval; do
     2941    if test "X$pkg" = "X$p"; then
     2942      enable_shared=yes
     2943    fi
     2944  done
     2945  IFS="$ac_save_ifs"
     2946  ;;
     2947esac
    31402948else
    31412949  enable_shared=yes
    31422950fi;
    3143 
    31442951# Check whether --enable-static or --disable-static was given.
    31452952if test "${enable_static+set}" = set; then
    31462953  enableval="$enable_static"
    31472954  p=${PACKAGE-default}
    3148     case $enableval in
    3149     yes) enable_static=yes ;;
    3150     no) enable_static=no ;;
    3151     *)
    3152      enable_static=no
    3153       # Look at the argument we got.  We use all the common list separators.
    3154       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3155       for pkg in $enableval; do
    3156         IFS="$lt_save_ifs"
    3157         if test "X$pkg" = "X$p"; then
    3158           enable_static=yes
    3159         fi
    3160       done
    3161       IFS="$lt_save_ifs"
    3162       ;;
    3163     esac
     2955case $enableval in
     2956yes) enable_static=yes ;;
     2957no) enable_static=no ;;
     2958*)
     2959  enable_static=no
     2960  # Look at the argument we got.  We use all the common list separators.
     2961  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     2962  for pkg in $enableval; do
     2963    if test "X$pkg" = "X$p"; then
     2964      enable_static=yes
     2965    fi
     2966  done
     2967  IFS="$ac_save_ifs"
     2968  ;;
     2969esac
    31642970else
    31652971  enable_static=yes
    31662972fi;
    3167 
    31682973# Check whether --enable-fast-install or --disable-fast-install was given.
    31692974if test "${enable_fast_install+set}" = set; then
    31702975  enableval="$enable_fast_install"
    31712976  p=${PACKAGE-default}
    3172     case $enableval in
    3173     yes) enable_fast_install=yes ;;
    3174     no) enable_fast_install=no ;;
    3175     *)
    3176       enable_fast_install=no
    3177       # Look at the argument we got.  We use all the common list separators.
    3178       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    3179       for pkg in $enableval; do
    3180         IFS="$lt_save_ifs"
    3181         if test "X$pkg" = "X$p"; then
    3182           enable_fast_install=yes
    3183         fi
    3184       done
    3185       IFS="$lt_save_ifs"
    3186       ;;
    3187     esac
     2977case $enableval in
     2978yes) enable_fast_install=yes ;;
     2979no) enable_fast_install=no ;;
     2980*)
     2981  enable_fast_install=no
     2982  # Look at the argument we got.  We use all the common list separators.
     2983  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
     2984  for pkg in $enableval; do
     2985    if test "X$pkg" = "X$p"; then
     2986      enable_fast_install=yes
     2987    fi
     2988  done
     2989  IFS="$ac_save_ifs"
     2990  ;;
     2991esac
    31882992else
    31892993  enable_fast_install=yes
    31902994fi;
    3191 
    31922995# Make sure we can run config.sub.
    31932996$ac_config_sub sun4 >/dev/null 2>&1 ||
     
    32443047
    32453048
    3246 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    3247 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
    3248 if test "${lt_cv_path_SED+set}" = set; then
    3249   echo $ECHO_N "(cached) $ECHO_C" >&6
    3250 else
    3251   # Loop through the user's path and test for sed and gsed.
    3252 # Then use that list of sed's as ones to test for truncation.
    3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3254 for as_dir in $PATH
    3255 do
    3256   IFS=$as_save_IFS
    3257   test -z "$as_dir" && as_dir=.
    3258   for lt_ac_prog in sed gsed; do
    3259     for ac_exec_ext in '' $ac_executable_extensions; do
    3260       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
    3261         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
    3262       fi
    3263     done
    3264   done
    3265 done
    3266 lt_ac_max=0
    3267 lt_ac_count=0
    3268 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
    3269 # along with /bin/sed that truncates output.
    3270 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
    3271   test ! -f $lt_ac_sed && break
    3272   cat /dev/null > conftest.in
    3273   lt_ac_count=0
    3274   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
    3275   # Check for GNU sed and select it if it is found.
    3276   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
    3277     lt_cv_path_SED=$lt_ac_sed
    3278     break
    3279   fi
    3280   while true; do
    3281     cat conftest.in conftest.in >conftest.tmp
    3282     mv conftest.tmp conftest.in
    3283     cp conftest.in conftest.nl
    3284     echo >>conftest.nl
    3285     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
    3286     cmp -s conftest.out conftest.nl || break
    3287     # 10000 chars as input seems more than enough
    3288     test $lt_ac_count -gt 10 && break
    3289     lt_ac_count=`expr $lt_ac_count + 1`
    3290     if test $lt_ac_count -gt $lt_ac_max; then
    3291       lt_ac_max=$lt_ac_count
    3292       lt_cv_path_SED=$lt_ac_sed
    3293     fi
    3294   done
    3295 done
    3296 SED=$lt_cv_path_SED
    3297 
    3298 fi
    3299 
    3300 echo "$as_me:$LINENO: result: $SED" >&5
    3301 echo "${ECHO_T}$SED" >&6
    3302 
    3303 echo "$as_me:$LINENO: checking for egrep" >&5
    3304 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3305 if test "${ac_cv_prog_egrep+set}" = set; then
    3306   echo $ECHO_N "(cached) $ECHO_C" >&6
    3307 else
    3308   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3309     then ac_cv_prog_egrep='grep -E'
    3310     else ac_cv_prog_egrep='egrep'
    3311     fi
    3312 fi
    3313 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3314 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3315  EGREP=$ac_cv_prog_egrep
    3316 
     3049# Find the correct PATH separator.  Usually this is `:', but
     3050# DJGPP uses `;' like DOS.
     3051if test "X${PATH_SEPARATOR+set}" != Xset; then
     3052  UNAME=${UNAME-`uname 2>/dev/null`}
     3053  case X$UNAME in
     3054    *-DOS) lt_cv_sys_path_separator=';' ;;
     3055    *)     lt_cv_sys_path_separator=':' ;;
     3056  esac
     3057  PATH_SEPARATOR=$lt_cv_sys_path_separator
     3058fi
    33173059
    33183060
     
    33273069if test "$GCC" = yes; then
    33283070  # Check if gcc -print-prog-name=ld gives a path.
    3329   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
    3330 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
     3071  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
     3072echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
    33313073  case $host in
    33323074  *-*-mingw*)
     
    33383080  case $ac_prog in
    33393081    # Accept absolute paths.
    3340     [\\/]* | ?:[\\/]*)
     3082    [\\/]* | [A-Za-z]:[\\/]*)
    33413083      re_direlt='/[^/][^/]*/\.\./'
    3342       # Canonicalize the pathname of ld
    3343       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
     3084      # Canonicalize the path of ld
     3085      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
    33443086      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    3345         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
     3087        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
    33463088      done
    33473089      test -z "$LD" && LD="$ac_prog"
     
    33673109else
    33683110  if test -z "$LD"; then
    3369   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3111  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    33703112  for ac_dir in $PATH; do
    3371     IFS="$lt_save_ifs"
    33723113    test -z "$ac_dir" && ac_dir=.
    33733114    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     
    33763117      # but apparently some GNU ld's only accept -v.
    33773118      # Break only if it was the GNU/non-GNU ld that we prefer.
    3378       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    3379       *GNU* | *'with BFD'*)
     3119      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    33803120        test "$with_gnu_ld" != no && break
    3381         ;;
    3382       *)
     3121      else
    33833122        test "$with_gnu_ld" != yes && break
    3384         ;;
    3385       esac
     3123      fi
    33863124    fi
    33873125  done
    3388   IFS="$lt_save_ifs"
     3126  IFS="$ac_save_ifs"
    33893127else
    33903128  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     
    34093147else
    34103148  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    3411 case `$LD -v 2>&1 </dev/null` in
    3412 *GNU* | *'with BFD'*)
     3149if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    34133150  lt_cv_prog_gnu_ld=yes
    3414   ;;
    3415 *)
     3151else
    34163152  lt_cv_prog_gnu_ld=no
    3417   ;;
    3418 esac
     3153fi
    34193154fi
    34203155echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
     
    34333168echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    34343169reload_flag=$lt_cv_ld_reload_flag
    3435 case $reload_flag in
    3436 "" | " "*) ;;
    3437 *) reload_flag=" $reload_flag" ;;
    3438 esac
    3439 reload_cmds='$LD$reload_flag -o $output$reload_objs'
     3170test -n "$reload_flag" && reload_flag=" $reload_flag"
    34403171
    34413172echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
     
    34483179  lt_cv_path_NM="$NM"
    34493180else
    3450   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3181  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    34513182  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
    3452     IFS="$lt_save_ifs"
    34533183    test -z "$ac_dir" && ac_dir=.
    3454     tmp_nm="$ac_dir/${ac_tool_prefix}nm"
    3455     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     3184    tmp_nm=$ac_dir/${ac_tool_prefix}nm
     3185    if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
    34563186      # Check to see if the nm accepts a BSD-compat flag.
    34573187      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    34583188      #   nm: unknown option "B" ignored
    34593189      # Tru64's nm complains that /dev/null is an invalid object file
    3460       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    3461       */dev/null* | *'Invalid file or object type'*)
     3190      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    34623191        lt_cv_path_NM="$tmp_nm -B"
    34633192        break
    3464         ;;
    3465       *)
    3466         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
    3467         */dev/null*)
    3468           lt_cv_path_NM="$tmp_nm -p"
    3469           break
    3470           ;;
    3471         *)
    3472           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    3473           continue # so that we can try to find one that supports BSD flags
    3474           ;;
    3475         esac
    3476       esac
     3193      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
     3194        lt_cv_path_NM="$tmp_nm -p"
     3195        break
     3196      else
     3197        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     3198        continue # so that we can try to find one that supports BSD flags
     3199      fi
    34773200    fi
    34783201  done
    3479   IFS="$lt_save_ifs"
     3202  IFS="$ac_save_ifs"
    34803203  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    34813204fi
    34823205fi
    3483 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
    3484 echo "${ECHO_T}$lt_cv_path_NM" >&6
     3206
    34853207NM="$lt_cv_path_NM"
     3208echo "$as_me:$LINENO: result: $NM" >&5
     3209echo "${ECHO_T}$NM" >&6
     3210
     3211echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
     3212echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
     3213if test "${lt_cv_path_SED+set}" = set; then
     3214  echo $ECHO_N "(cached) $ECHO_C" >&6
     3215else
     3216  # Loop through the user's path and test for sed and gsed.
     3217# Then use that list of sed's as ones to test for truncation.
     3218as_executable_p="test -f"
     3219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3220for as_dir in $PATH
     3221do
     3222  IFS=$as_save_IFS
     3223  test -z "$as_dir" && as_dir=.
     3224  for ac_prog in sed gsed; do
     3225    for ac_exec_ext in '' $ac_executable_extensions; do
     3226      if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3227        _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
     3228      fi
     3229    done
     3230  done
     3231done
     3232
     3233  # Create a temporary directory, and hook for its removal unless debugging.
     3234$debug ||
     3235{
     3236  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     3237  trap '{ (exit 1); exit 1; }' 1 2 13 15
     3238}
     3239
     3240# Create a (secure) tmp directory for tmp files.
     3241: ${TMPDIR=/tmp}
     3242{
     3243  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
     3244  test -n "$tmp" && test -d "$tmp"
     3245}  ||
     3246{
     3247  tmp=$TMPDIR/sed$$-$RANDOM
     3248  (umask 077 && mkdir $tmp)
     3249} ||
     3250{
     3251   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
     3252   { (exit 1); exit 1; }
     3253}
     3254  _max=0
     3255  _count=0
     3256  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
     3257  # along with /bin/sed that truncates output.
     3258  for _sed in $_sed_list /usr/xpg4/bin/sed; do
     3259    test ! -f ${_sed} && break
     3260    cat /dev/null > "$tmp/sed.in"
     3261    _count=0
     3262    echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
     3263    # Check for GNU sed and select it if it is found.
     3264    if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
     3265      lt_cv_path_SED=${_sed}
     3266      break
     3267    fi
     3268    while true; do
     3269      cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
     3270      mv "$tmp/sed.tmp" "$tmp/sed.in"
     3271      cp "$tmp/sed.in" "$tmp/sed.nl"
     3272      echo >>"$tmp/sed.nl"
     3273      ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
     3274      cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
     3275      # 40000 chars as input seems more than enough
     3276      test $_count -gt 10 && break
     3277      _count=`expr $_count + 1`
     3278      if test $_count -gt $_max; then
     3279        _max=$_count
     3280        lt_cv_path_SED=$_sed
     3281      fi
     3282    done
     3283  done
     3284  rm -rf "$tmp"
     3285
     3286fi
     3287
     3288if test "X$SED" != "X"; then
     3289  lt_cv_path_SED=$SED
     3290else
     3291  SED=$lt_cv_path_SED
     3292fi
     3293echo "$as_me:$LINENO: result: $SED" >&5
     3294echo "${ECHO_T}$SED" >&6
    34863295
    34873296echo "$as_me:$LINENO: checking whether ln -s works" >&5
     
    35113320# 'test_compile' -- check by making test program.
    35123321# 'file_magic [[regex]]' -- check by looking for files in library path
    3513 # which responds to the $file_magic_cmd with a given extended regex.
     3322# which responds to the $file_magic_cmd with a given egrep regex.
    35143323# If you have `file' or equivalent on your system and you're not sure
    35153324# whether `pass_all' will *always* work, you probably want this one.
     
    35303339  ;;
    35313340
    3532 cygwin*)
    3533   # func_win32_libid is a shell function defined in ltmain.sh
    3534   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    3535   lt_cv_file_magic_cmd='func_win32_libid'
    3536   ;;
    3537 
    3538 mingw* | pw32*)
    3539   # Base MSYS/MinGW do not provide the 'file' command needed by
    3540   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
     3341cygwin* | mingw* | pw32*)
    35413342  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    35423343  lt_cv_file_magic_cmd='$OBJDUMP -f'
     
    35443345
    35453346darwin* | rhapsody*)
    3546   lt_cv_deplibs_check_method=pass_all
     3347  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     3348  lt_cv_file_magic_cmd='/usr/bin/file -L'
     3349  case "$host_os" in
     3350  rhapsody* | darwin1.[012])
     3351    lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
     3352    ;;
     3353  *) # Darwin 1.3 on
     3354    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     3355    ;;
     3356  esac
    35473357  ;;
    35483358
    3549 freebsd* | kfreebsd*-gnu)
     3359freebsd*)
    35503360  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    35513361    case $host_cpu in
     
    35673377  ;;
    35683378
    3569 hpux10.20* | hpux11*)
     3379hpux10.20*|hpux11*)
     3380  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    35703381  lt_cv_file_magic_cmd=/usr/bin/file
    3571   case "$host_cpu" in
    3572   ia64*)
    3573     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    3574     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    3575     ;;
    3576   hppa*64*)
    3577     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]'
    3578     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     3382  lt_cv_file_magic_test_file=/usr/lib/libc.sl
     3383  ;;
     3384
     3385irix5* | irix6* | nonstopux*)
     3386  case $host_os in
     3387  irix5* | nonstopux*)
     3388    # this will be overridden with pass_all, but let us keep it just in case
     3389    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
    35793390    ;;
    35803391  *)
    3581     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    3582     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     3392    case $LD in
     3393    *-32|*"-32 ") libmagic=32-bit;;
     3394    *-n32|*"-n32 ") libmagic=N32;;
     3395    *-64|*"-64 ") libmagic=64-bit;;
     3396    *) libmagic=never-match;;
     3397    esac
     3398    # this will be overridden with pass_all, but let us keep it just in case
     3399    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    35833400    ;;
    35843401  esac
    3585   ;;
    3586 
    3587 irix5* | irix6* | nonstopux*)
    3588   case $LD in
    3589   *-32|*"-32 ") libmagic=32-bit;;
    3590   *-n32|*"-n32 ") libmagic=N32;;
    3591   *-64|*"-64 ") libmagic=64-bit;;
    3592   *) libmagic=never-match;;
    3593   esac
     3402  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
    35943403  lt_cv_deplibs_check_method=pass_all
    35953404  ;;
    35963405
    35973406# This must be Linux ELF.
    3598 linux*)
     3407linux-gnu*)
    35993408  case $host_cpu in
    3600   alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
     3409  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*)
    36013410    lt_cv_deplibs_check_method=pass_all ;;
    36023411  *)
    36033412    # glibc up to 2.1.1 does not perform some relocations on ARM
    3604     # this will be overridden with pass_all, but let us keep it just in case
    36053413    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    36063414  esac
    36073415  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    3608   lt_cv_deplibs_check_method=pass_all
    36093416  ;;
    36103417
    36113418netbsd*)
    36123419  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    3613     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     3420    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    36143421  else
    3615     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     3422    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    36163423  fi
    36173424  ;;
     
    36213428  lt_cv_file_magic_cmd=/usr/bin/file
    36223429  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    3623   ;;
    3624 
    3625 nto-qnx*)
    3626   lt_cv_deplibs_check_method=unknown
    36273430  ;;
    36283431
     
    36383441
    36393442osf3* | osf4* | osf5*)
     3443  # this will be overridden with pass_all, but let us keep it just in case
     3444  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
     3445  lt_cv_file_magic_test_file=/shlib/libc.so
    36403446  lt_cv_deplibs_check_method=pass_all
    36413447  ;;
     
    36463452
    36473453solaris*)
     3454  lt_cv_deplibs_check_method=pass_all
     3455  lt_cv_file_magic_test_file=/lib/libc.so
     3456  ;;
     3457
     3458sysv5uw[78]* | sysv4*uw2*)
    36483459  lt_cv_deplibs_check_method=pass_all
    36493460  ;;
     
    36723483  esac
    36733484  ;;
    3674 
    3675 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
    3676   lt_cv_deplibs_check_method=pass_all
    3677   ;;
    36783485esac
    36793486
     
    36833490file_magic_cmd=$lt_cv_file_magic_cmd
    36843491deplibs_check_method=$lt_cv_deplibs_check_method
    3685 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    3686 
    3687 
    3688 
    3689 
    3690 # If no C compiler was specified, use CC.
    3691 LTCC=${LTCC-"$CC"}
    3692 
    3693 # Allow CC to be a program name with arguments.
    3694 compiler=$CC
    3695 
    3696 
    3697 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    3698 if test "${enable_libtool_lock+set}" = set; then
    3699   enableval="$enable_libtool_lock"
    3700 
    3701 fi;
    3702 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    3703 
    3704 # Some flags need to be propagated to the compiler or linker for good
    3705 # libtool support.
    3706 case $host in
    3707 ia64-*-hpux*)
    3708   # Find out which ABI we are using.
    3709   echo 'int i;' > conftest.$ac_ext
    3710   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3711   (eval $ac_compile) 2>&5
    3712   ac_status=$?
    3713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3714   (exit $ac_status); }; then
    3715     case `/usr/bin/file conftest.$ac_objext` in
    3716     *ELF-32*)
    3717       HPUX_IA64_MODE="32"
    3718       ;;
    3719     *ELF-64*)
    3720       HPUX_IA64_MODE="64"
    3721       ;;
    3722     esac
    3723   fi
    3724   rm -rf conftest*
    3725   ;;
    3726 *-*-irix6*)
    3727   # Find out which ABI we are using.
    3728   echo '#line 3728 "configure"' > conftest.$ac_ext
    3729   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3730   (eval $ac_compile) 2>&5
    3731   ac_status=$?
    3732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3733   (exit $ac_status); }; then
    3734    if test "$lt_cv_prog_gnu_ld" = yes; then
    3735     case `/usr/bin/file conftest.$ac_objext` in
    3736     *32-bit*)
    3737       LD="${LD-ld} -melf32bsmip"
    3738       ;;
    3739     *N32*)
    3740       LD="${LD-ld} -melf32bmipn32"
    3741       ;;
    3742     *64-bit*)
    3743       LD="${LD-ld} -melf64bmip"
    3744       ;;
    3745     esac
    3746    else
    3747     case `/usr/bin/file conftest.$ac_objext` in
    3748     *32-bit*)
    3749       LD="${LD-ld} -32"
    3750       ;;
    3751     *N32*)
    3752       LD="${LD-ld} -n32"
    3753       ;;
    3754     *64-bit*)
    3755       LD="${LD-ld} -64"
    3756       ;;
    3757     esac
    3758    fi
    3759   fi
    3760   rm -rf conftest*
    3761   ;;
    3762 
    3763 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
    3764   # Find out which ABI we are using.
    3765   echo 'int i;' > conftest.$ac_ext
    3766   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3767   (eval $ac_compile) 2>&5
    3768   ac_status=$?
    3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3770   (exit $ac_status); }; then
    3771     case "`/usr/bin/file conftest.o`" in
    3772     *32-bit*)
    3773       case $host in
    3774         x86_64-*linux*)
    3775           LD="${LD-ld} -m elf_i386"
    3776           ;;
    3777         ppc64-*linux*|powerpc64-*linux*)
    3778           LD="${LD-ld} -m elf32ppclinux"
    3779           ;;
    3780         s390x-*linux*)
    3781           LD="${LD-ld} -m elf_s390"
    3782           ;;
    3783         sparc64-*linux*)
    3784           LD="${LD-ld} -m elf32_sparc"
    3785           ;;
    3786       esac
    3787       ;;
    3788     *64-bit*)
    3789       case $host in
    3790         x86_64-*linux*)
    3791           LD="${LD-ld} -m elf_x86_64"
    3792           ;;
    3793         ppc*-*linux*|powerpc*-*linux*)
    3794           LD="${LD-ld} -m elf64ppc"
    3795           ;;
    3796         s390*-*linux*)
    3797           LD="${LD-ld} -m elf64_s390"
    3798           ;;
    3799         sparc*-*linux*)
    3800           LD="${LD-ld} -m elf64_sparc"
    3801           ;;
    3802       esac
    3803       ;;
    3804     esac
    3805   fi
    3806   rm -rf conftest*
    3807   ;;
    3808 
    3809 *-*-sco3.2v5*)
    3810   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    3811   SAVE_CFLAGS="$CFLAGS"
    3812   CFLAGS="$CFLAGS -belf"
    3813   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
    3814 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    3815 if test "${lt_cv_cc_needs_belf+set}" = set; then
    3816   echo $ECHO_N "(cached) $ECHO_C" >&6
    3817 else
    3818   ac_ext=c
    3819 ac_cpp='$CPP $CPPFLAGS'
    3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3823 
    3824      cat >conftest.$ac_ext <<_ACEOF
    3825 /* confdefs.h.  */
    3826 _ACEOF
    3827 cat confdefs.h >>conftest.$ac_ext
    3828 cat >>conftest.$ac_ext <<_ACEOF
    3829 /* end confdefs.h.  */
    3830 
    3831 int
    3832 main ()
    3833 {
    3834 
    3835   ;
    3836   return 0;
    3837 }
    3838 _ACEOF
    3839 rm -f conftest.$ac_objext conftest$ac_exeext
    3840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3841   (eval $ac_link) 2>conftest.er1
    3842   ac_status=$?
    3843   grep -v '^ *+' conftest.er1 >conftest.err
    3844   rm -f conftest.er1
    3845   cat conftest.err >&5
    3846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3847   (exit $ac_status); } &&
    3848          { ac_try='test -z "$ac_c_werror_flag"
    3849                          || test ! -s conftest.err'
    3850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3851   (eval $ac_try) 2>&5
    3852   ac_status=$?
    3853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3854   (exit $ac_status); }; } &&
    3855          { ac_try='test -s conftest$ac_exeext'
    3856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3857   (eval $ac_try) 2>&5
    3858   ac_status=$?
    3859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3860   (exit $ac_status); }; }; then
    3861   lt_cv_cc_needs_belf=yes
    3862 else
    3863   echo "$as_me: failed program was:" >&5
    3864 sed 's/^/| /' conftest.$ac_ext >&5
    3865 
    3866 lt_cv_cc_needs_belf=no
    3867 fi
    3868 rm -f conftest.err conftest.$ac_objext \
    3869       conftest$ac_exeext conftest.$ac_ext
    3870      ac_ext=c
    3871 ac_cpp='$CPP $CPPFLAGS'
    3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3875 
    3876 fi
    3877 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    3878 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    3879   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    3880     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    3881     CFLAGS="$SAVE_CFLAGS"
    3882   fi
    3883   ;;
    3884 
    3885 esac
    3886 
    3887 need_locks="$enable_libtool_lock"
    3888 
    3889 
    3890 ac_ext=c
    3891 ac_cpp='$CPP $CPPFLAGS'
    3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3895 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3896 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    3897 # On Suns, sometimes $CPP names a directory.
    3898 if test -n "$CPP" && test -d "$CPP"; then
    3899   CPP=
    3900 fi
    3901 if test -z "$CPP"; then
    3902   if test "${ac_cv_prog_CPP+set}" = set; then
    3903   echo $ECHO_N "(cached) $ECHO_C" >&6
    3904 else
    3905       # Double quotes because CPP needs to be expanded
    3906     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3907     do
    3908       ac_preproc_ok=false
    3909 for ac_c_preproc_warn_flag in '' yes
    3910 do
    3911   # Use a header file that comes with gcc, so configuring glibc
    3912   # with a fresh cross-compiler works.
    3913   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3914   # <limits.h> exists even on freestanding compilers.
    3915   # On the NeXT, cc -E runs the code through the compiler's parser,
    3916   # not just through cpp. "Syntax error" is here to catch this case.
    3917   cat >conftest.$ac_ext <<_ACEOF
    3918 /* confdefs.h.  */
    3919 _ACEOF
    3920 cat confdefs.h >>conftest.$ac_ext
    3921 cat >>conftest.$ac_ext <<_ACEOF
    3922 /* end confdefs.h.  */
    3923 #ifdef __STDC__
    3924 # include <limits.h>
    3925 #else
    3926 # include <assert.h>
    3927 #endif
    3928                      Syntax error
    3929 _ACEOF
    3930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3931   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3932   ac_status=$?
    3933   grep -v '^ *+' conftest.er1 >conftest.err
    3934   rm -f conftest.er1
    3935   cat conftest.err >&5
    3936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3937   (exit $ac_status); } >/dev/null; then
    3938   if test -s conftest.err; then
    3939     ac_cpp_err=$ac_c_preproc_warn_flag
    3940     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3941   else
    3942     ac_cpp_err=
    3943   fi
    3944 else
    3945   ac_cpp_err=yes
    3946 fi
    3947 if test -z "$ac_cpp_err"; then
    3948   :
    3949 else
    3950   echo "$as_me: failed program was:" >&5
    3951 sed 's/^/| /' conftest.$ac_ext >&5
    3952 
    3953   # Broken: fails on valid input.
    3954 continue
    3955 fi
    3956 rm -f conftest.err conftest.$ac_ext
    3957 
    3958   # OK, works on sane cases.  Now check whether non-existent headers
    3959   # can be detected and how.
    3960   cat >conftest.$ac_ext <<_ACEOF
    3961 /* confdefs.h.  */
    3962 _ACEOF
    3963 cat confdefs.h >>conftest.$ac_ext
    3964 cat >>conftest.$ac_ext <<_ACEOF
    3965 /* end confdefs.h.  */
    3966 #include <ac_nonexistent.h>
    3967 _ACEOF
    3968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3969   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3970   ac_status=$?
    3971   grep -v '^ *+' conftest.er1 >conftest.err
    3972   rm -f conftest.er1
    3973   cat conftest.err >&5
    3974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3975   (exit $ac_status); } >/dev/null; then
    3976   if test -s conftest.err; then
    3977     ac_cpp_err=$ac_c_preproc_warn_flag
    3978     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3979   else
    3980     ac_cpp_err=
    3981   fi
    3982 else
    3983   ac_cpp_err=yes
    3984 fi
    3985 if test -z "$ac_cpp_err"; then
    3986   # Broken: success on invalid input.
    3987 continue
    3988 else
    3989   echo "$as_me: failed program was:" >&5
    3990 sed 's/^/| /' conftest.$ac_ext >&5
    3991 
    3992   # Passes both tests.
    3993 ac_preproc_ok=:
    3994 break
    3995 fi
    3996 rm -f conftest.err conftest.$ac_ext
    3997 
    3998 done
    3999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4000 rm -f conftest.err conftest.$ac_ext
    4001 if $ac_preproc_ok; then
    4002   break
    4003 fi
    4004 
    4005     done
    4006     ac_cv_prog_CPP=$CPP
    4007 
    4008 fi
    4009   CPP=$ac_cv_prog_CPP
    4010 else
    4011   ac_cv_prog_CPP=$CPP
    4012 fi
    4013 echo "$as_me:$LINENO: result: $CPP" >&5
    4014 echo "${ECHO_T}$CPP" >&6
    4015 ac_preproc_ok=false
    4016 for ac_c_preproc_warn_flag in '' yes
    4017 do
    4018   # Use a header file that comes with gcc, so configuring glibc
    4019   # with a fresh cross-compiler works.
    4020   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4021   # <limits.h> exists even on freestanding compilers.
    4022   # On the NeXT, cc -E runs the code through the compiler's parser,
    4023   # not just through cpp. "Syntax error" is here to catch this case.
    4024   cat >conftest.$ac_ext <<_ACEOF
    4025 /* confdefs.h.  */
    4026 _ACEOF
    4027 cat confdefs.h >>conftest.$ac_ext
    4028 cat >>conftest.$ac_ext <<_ACEOF
    4029 /* end confdefs.h.  */
    4030 #ifdef __STDC__
    4031 # include <limits.h>
    4032 #else
    4033 # include <assert.h>
    4034 #endif
    4035                      Syntax error
    4036 _ACEOF
    4037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4038   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4039   ac_status=$?
    4040   grep -v '^ *+' conftest.er1 >conftest.err
    4041   rm -f conftest.er1
    4042   cat conftest.err >&5
    4043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4044   (exit $ac_status); } >/dev/null; then
    4045   if test -s conftest.err; then
    4046     ac_cpp_err=$ac_c_preproc_warn_flag
    4047     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4048   else
    4049     ac_cpp_err=
    4050   fi
    4051 else
    4052   ac_cpp_err=yes
    4053 fi
    4054 if test -z "$ac_cpp_err"; then
    4055   :
    4056 else
    4057   echo "$as_me: failed program was:" >&5
    4058 sed 's/^/| /' conftest.$ac_ext >&5
    4059 
    4060   # Broken: fails on valid input.
    4061 continue
    4062 fi
    4063 rm -f conftest.err conftest.$ac_ext
    4064 
    4065   # OK, works on sane cases.  Now check whether non-existent headers
    4066   # can be detected and how.
    4067   cat >conftest.$ac_ext <<_ACEOF
    4068 /* confdefs.h.  */
    4069 _ACEOF
    4070 cat confdefs.h >>conftest.$ac_ext
    4071 cat >>conftest.$ac_ext <<_ACEOF
    4072 /* end confdefs.h.  */
    4073 #include <ac_nonexistent.h>
    4074 _ACEOF
    4075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4076   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4077   ac_status=$?
    4078   grep -v '^ *+' conftest.er1 >conftest.err
    4079   rm -f conftest.er1
    4080   cat conftest.err >&5
    4081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4082   (exit $ac_status); } >/dev/null; then
    4083   if test -s conftest.err; then
    4084     ac_cpp_err=$ac_c_preproc_warn_flag
    4085     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4086   else
    4087     ac_cpp_err=
    4088   fi
    4089 else
    4090   ac_cpp_err=yes
    4091 fi
    4092 if test -z "$ac_cpp_err"; then
    4093   # Broken: success on invalid input.
    4094 continue
    4095 else
    4096   echo "$as_me: failed program was:" >&5
    4097 sed 's/^/| /' conftest.$ac_ext >&5
    4098 
    4099   # Passes both tests.
    4100 ac_preproc_ok=:
    4101 break
    4102 fi
    4103 rm -f conftest.err conftest.$ac_ext
    4104 
    4105 done
    4106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4107 rm -f conftest.err conftest.$ac_ext
    4108 if $ac_preproc_ok; then
    4109   :
    4110 else
    4111   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4112 See \`config.log' for more details." >&5
    4113 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4114 See \`config.log' for more details." >&2;}
    4115    { (exit 1); exit 1; }; }
    4116 fi
    4117 
    4118 ac_ext=c
    4119 ac_cpp='$CPP $CPPFLAGS'
    4120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4123 
    4124 
    4125 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4126 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    4127 if test "${ac_cv_header_stdc+set}" = set; then
    4128   echo $ECHO_N "(cached) $ECHO_C" >&6
    4129 else
    4130   cat >conftest.$ac_ext <<_ACEOF
    4131 /* confdefs.h.  */
    4132 _ACEOF
    4133 cat confdefs.h >>conftest.$ac_ext
    4134 cat >>conftest.$ac_ext <<_ACEOF
    4135 /* end confdefs.h.  */
    4136 #include <stdlib.h>
    4137 #include <stdarg.h>
    4138 #include <string.h>
    4139 #include <float.h>
    4140 
    4141 int
    4142 main ()
    4143 {
    4144 
    4145   ;
    4146   return 0;
    4147 }
    4148 _ACEOF
    4149 rm -f conftest.$ac_objext
    4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4151   (eval $ac_compile) 2>conftest.er1
    4152   ac_status=$?
    4153   grep -v '^ *+' conftest.er1 >conftest.err
    4154   rm -f conftest.er1
    4155   cat conftest.err >&5
    4156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4157   (exit $ac_status); } &&
    4158          { ac_try='test -z "$ac_c_werror_flag"
    4159                          || test ! -s conftest.err'
    4160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4161   (eval $ac_try) 2>&5
    4162   ac_status=$?
    4163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4164   (exit $ac_status); }; } &&
    4165          { ac_try='test -s conftest.$ac_objext'
    4166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4167   (eval $ac_try) 2>&5
    4168   ac_status=$?
    4169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4170   (exit $ac_status); }; }; then
    4171   ac_cv_header_stdc=yes
    4172 else
    4173   echo "$as_me: failed program was:" >&5
    4174 sed 's/^/| /' conftest.$ac_ext >&5
    4175 
    4176 ac_cv_header_stdc=no
    4177 fi
    4178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4179 
    4180 if test $ac_cv_header_stdc = yes; then
    4181   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4182   cat >conftest.$ac_ext <<_ACEOF
    4183 /* confdefs.h.  */
    4184 _ACEOF
    4185 cat confdefs.h >>conftest.$ac_ext
    4186 cat >>conftest.$ac_ext <<_ACEOF
    4187 /* end confdefs.h.  */
    4188 #include <string.h>
    4189 
    4190 _ACEOF
    4191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4192   $EGREP "memchr" >/dev/null 2>&1; then
    4193   :
    4194 else
    4195   ac_cv_header_stdc=no
    4196 fi
    4197 rm -f conftest*
    4198 
    4199 fi
    4200 
    4201 if test $ac_cv_header_stdc = yes; then
    4202   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4203   cat >conftest.$ac_ext <<_ACEOF
    4204 /* confdefs.h.  */
    4205 _ACEOF
    4206 cat confdefs.h >>conftest.$ac_ext
    4207 cat >>conftest.$ac_ext <<_ACEOF
    4208 /* end confdefs.h.  */
    4209 #include <stdlib.h>
    4210 
    4211 _ACEOF
    4212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4213   $EGREP "free" >/dev/null 2>&1; then
    4214   :
    4215 else
    4216   ac_cv_header_stdc=no
    4217 fi
    4218 rm -f conftest*
    4219 
    4220 fi
    4221 
    4222 if test $ac_cv_header_stdc = yes; then
    4223   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4224   if test "$cross_compiling" = yes; then
    4225   :
    4226 else
    4227   cat >conftest.$ac_ext <<_ACEOF
    4228 /* confdefs.h.  */
    4229 _ACEOF
    4230 cat confdefs.h >>conftest.$ac_ext
    4231 cat >>conftest.$ac_ext <<_ACEOF
    4232 /* end confdefs.h.  */
    4233 #include <ctype.h>
    4234 #if ((' ' & 0x0FF) == 0x020)
    4235 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4236 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4237 #else
    4238 # define ISLOWER(c) \
    4239                    (('a' <= (c) && (c) <= 'i') \
    4240                      || ('j' <= (c) && (c) <= 'r') \
    4241                      || ('s' <= (c) && (c) <= 'z'))
    4242 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4243 #endif
    4244 
    4245 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4246 int
    4247 main ()
    4248 {
    4249   int i;
    4250   for (i = 0; i < 256; i++)
    4251     if (XOR (islower (i), ISLOWER (i))
    4252         || toupper (i) != TOUPPER (i))
    4253       exit(2);
    4254   exit (0);
    4255 }
    4256 _ACEOF
    4257 rm -f conftest$ac_exeext
    4258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4259   (eval $ac_link) 2>&5
    4260   ac_status=$?
    4261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4262   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4264   (eval $ac_try) 2>&5
    4265   ac_status=$?
    4266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4267   (exit $ac_status); }; }; then
    4268   :
    4269 else
    4270   echo "$as_me: program exited with status $ac_status" >&5
    4271 echo "$as_me: failed program was:" >&5
    4272 sed 's/^/| /' conftest.$ac_ext >&5
    4273 
    4274 ( exit $ac_status )
    4275 ac_cv_header_stdc=no
    4276 fi
    4277 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4278 fi
    4279 fi
    4280 fi
    4281 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4282 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    4283 if test $ac_cv_header_stdc = yes; then
    4284 
    4285 cat >>confdefs.h <<\_ACEOF
    4286 #define STDC_HEADERS 1
    4287 _ACEOF
    4288 
    4289 fi
    4290 
    4291 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4292 
    4293 
    4294 
    4295 
    4296 
    4297 
    4298 
    4299 
    4300 
    4301 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4302                   inttypes.h stdint.h unistd.h
    4303 do
    4304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4305 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4308   echo $ECHO_N "(cached) $ECHO_C" >&6
    4309 else
    4310   cat >conftest.$ac_ext <<_ACEOF
    4311 /* confdefs.h.  */
    4312 _ACEOF
    4313 cat confdefs.h >>conftest.$ac_ext
    4314 cat >>conftest.$ac_ext <<_ACEOF
    4315 /* end confdefs.h.  */
    4316 $ac_includes_default
    4317 
    4318 #include <$ac_header>
    4319 _ACEOF
    4320 rm -f conftest.$ac_objext
    4321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4322   (eval $ac_compile) 2>conftest.er1
    4323   ac_status=$?
    4324   grep -v '^ *+' conftest.er1 >conftest.err
    4325   rm -f conftest.er1
    4326   cat conftest.err >&5
    4327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4328   (exit $ac_status); } &&
    4329          { ac_try='test -z "$ac_c_werror_flag"
    4330                          || test ! -s conftest.err'
    4331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4332   (eval $ac_try) 2>&5
    4333   ac_status=$?
    4334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4335   (exit $ac_status); }; } &&
    4336          { ac_try='test -s conftest.$ac_objext'
    4337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4338   (eval $ac_try) 2>&5
    4339   ac_status=$?
    4340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4341   (exit $ac_status); }; }; then
    4342   eval "$as_ac_Header=yes"
    4343 else
    4344   echo "$as_me: failed program was:" >&5
    4345 sed 's/^/| /' conftest.$ac_ext >&5
    4346 
    4347 eval "$as_ac_Header=no"
    4348 fi
    4349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4350 fi
    4351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4354   cat >>confdefs.h <<_ACEOF
    4355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4356 _ACEOF
    4357 
    4358 fi
    4359 
    4360 done
    4361 
    4362 
    4363 
    4364 for ac_header in dlfcn.h
    4365 do
    4366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4368   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4371   echo $ECHO_N "(cached) $ECHO_C" >&6
    4372 fi
    4373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4375 else
    4376   # Is the header compilable?
    4377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4379 cat >conftest.$ac_ext <<_ACEOF
    4380 /* confdefs.h.  */
    4381 _ACEOF
    4382 cat confdefs.h >>conftest.$ac_ext
    4383 cat >>conftest.$ac_ext <<_ACEOF
    4384 /* end confdefs.h.  */
    4385 $ac_includes_default
    4386 #include <$ac_header>
    4387 _ACEOF
    4388 rm -f conftest.$ac_objext
    4389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4390   (eval $ac_compile) 2>conftest.er1
    4391   ac_status=$?
    4392   grep -v '^ *+' conftest.er1 >conftest.err
    4393   rm -f conftest.er1
    4394   cat conftest.err >&5
    4395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4396   (exit $ac_status); } &&
    4397          { ac_try='test -z "$ac_c_werror_flag"
    4398                          || test ! -s conftest.err'
    4399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4400   (eval $ac_try) 2>&5
    4401   ac_status=$?
    4402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4403   (exit $ac_status); }; } &&
    4404          { ac_try='test -s conftest.$ac_objext'
    4405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4406   (eval $ac_try) 2>&5
    4407   ac_status=$?
    4408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4409   (exit $ac_status); }; }; then
    4410   ac_header_compiler=yes
    4411 else
    4412   echo "$as_me: failed program was:" >&5
    4413 sed 's/^/| /' conftest.$ac_ext >&5
    4414 
    4415 ac_header_compiler=no
    4416 fi
    4417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4419 echo "${ECHO_T}$ac_header_compiler" >&6
    4420 
    4421 # Is the header present?
    4422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4424 cat >conftest.$ac_ext <<_ACEOF
    4425 /* confdefs.h.  */
    4426 _ACEOF
    4427 cat confdefs.h >>conftest.$ac_ext
    4428 cat >>conftest.$ac_ext <<_ACEOF
    4429 /* end confdefs.h.  */
    4430 #include <$ac_header>
    4431 _ACEOF
    4432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4433   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4434   ac_status=$?
    4435   grep -v '^ *+' conftest.er1 >conftest.err
    4436   rm -f conftest.er1
    4437   cat conftest.err >&5
    4438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4439   (exit $ac_status); } >/dev/null; then
    4440   if test -s conftest.err; then
    4441     ac_cpp_err=$ac_c_preproc_warn_flag
    4442     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4443   else
    4444     ac_cpp_err=
    4445   fi
    4446 else
    4447   ac_cpp_err=yes
    4448 fi
    4449 if test -z "$ac_cpp_err"; then
    4450   ac_header_preproc=yes
    4451 else
    4452   echo "$as_me: failed program was:" >&5
    4453 sed 's/^/| /' conftest.$ac_ext >&5
    4454 
    4455   ac_header_preproc=no
    4456 fi
    4457 rm -f conftest.err conftest.$ac_ext
    4458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4459 echo "${ECHO_T}$ac_header_preproc" >&6
    4460 
    4461 # So?  What about this header?
    4462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4463   yes:no: )
    4464     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4466     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4468     ac_header_preproc=yes
    4469     ;;
    4470   no:yes:* )
    4471     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4473     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4474 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4475     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4477     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4478 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4479     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4481     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4483     (
    4484       cat <<\_ASBOX
    4485 ## ------------------------------------------ ##
    4486 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4487 ## ------------------------------------------ ##
    4488 _ASBOX
    4489     ) |
    4490       sed "s/^/$as_me: WARNING:     /" >&2
    4491     ;;
    4492 esac
    4493 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4496   echo $ECHO_N "(cached) $ECHO_C" >&6
    4497 else
    4498   eval "$as_ac_Header=\$ac_header_preproc"
    4499 fi
    4500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4502 
    4503 fi
    4504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4505   cat >>confdefs.h <<_ACEOF
    4506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4507 _ACEOF
    4508 
    4509 fi
    4510 
    4511 done
    4512 
    4513 ac_ext=cc
    4514 ac_cpp='$CXXCPP $CPPFLAGS'
    4515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4518 if test -n "$ac_tool_prefix"; then
    4519   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    4520   do
    4521     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4522 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4525 if test "${ac_cv_prog_CXX+set}" = set; then
    4526   echo $ECHO_N "(cached) $ECHO_C" >&6
    4527 else
    4528   if test -n "$CXX"; then
    4529   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    4530 else
    4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4532 for as_dir in $PATH
    4533 do
    4534   IFS=$as_save_IFS
    4535   test -z "$as_dir" && as_dir=.
    4536   for ac_exec_ext in '' $ac_executable_extensions; do
    4537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4538     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    4539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4540     break 2
    4541   fi
    4542 done
    4543 done
    4544 
    4545 fi
    4546 fi
    4547 CXX=$ac_cv_prog_CXX
    4548 if test -n "$CXX"; then
    4549   echo "$as_me:$LINENO: result: $CXX" >&5
    4550 echo "${ECHO_T}$CXX" >&6
    4551 else
    4552   echo "$as_me:$LINENO: result: no" >&5
    4553 echo "${ECHO_T}no" >&6
    4554 fi
    4555 
    4556     test -n "$CXX" && break
    4557   done
    4558 fi
    4559 if test -z "$CXX"; then
    4560   ac_ct_CXX=$CXX
    4561   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    4562 do
    4563   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4564 set dummy $ac_prog; ac_word=$2
    4565 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4567 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    4568   echo $ECHO_N "(cached) $ECHO_C" >&6
    4569 else
    4570   if test -n "$ac_ct_CXX"; then
    4571   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    4572 else
    4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4574 for as_dir in $PATH
    4575 do
    4576   IFS=$as_save_IFS
    4577   test -z "$as_dir" && as_dir=.
    4578   for ac_exec_ext in '' $ac_executable_extensions; do
    4579   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4580     ac_cv_prog_ac_ct_CXX="$ac_prog"
    4581     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4582     break 2
    4583   fi
    4584 done
    4585 done
    4586 
    4587 fi
    4588 fi
    4589 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    4590 if test -n "$ac_ct_CXX"; then
    4591   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    4592 echo "${ECHO_T}$ac_ct_CXX" >&6
    4593 else
    4594   echo "$as_me:$LINENO: result: no" >&5
    4595 echo "${ECHO_T}no" >&6
    4596 fi
    4597 
    4598   test -n "$ac_ct_CXX" && break
    4599 done
    4600 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    4601 
    4602   CXX=$ac_ct_CXX
    4603 fi
    4604 
    4605 
    4606 # Provide some information about the compiler.
    4607 echo "$as_me:$LINENO:" \
    4608      "checking for C++ compiler version" >&5
    4609 ac_compiler=`set X $ac_compile; echo $2`
    4610 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    4611   (eval $ac_compiler --version </dev/null >&5) 2>&5
    4612   ac_status=$?
    4613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4614   (exit $ac_status); }
    4615 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    4616   (eval $ac_compiler -v </dev/null >&5) 2>&5
    4617   ac_status=$?
    4618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4619   (exit $ac_status); }
    4620 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    4621   (eval $ac_compiler -V </dev/null >&5) 2>&5
    4622   ac_status=$?
    4623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4624   (exit $ac_status); }
    4625 
    4626 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    4627 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    4628 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    4629   echo $ECHO_N "(cached) $ECHO_C" >&6
    4630 else
    4631   cat >conftest.$ac_ext <<_ACEOF
    4632 /* confdefs.h.  */
    4633 _ACEOF
    4634 cat confdefs.h >>conftest.$ac_ext
    4635 cat >>conftest.$ac_ext <<_ACEOF
    4636 /* end confdefs.h.  */
    4637 
    4638 int
    4639 main ()
    4640 {
    4641 #ifndef __GNUC__
    4642        choke me
    4643 #endif
    4644 
    4645   ;
    4646   return 0;
    4647 }
    4648 _ACEOF
    4649 rm -f conftest.$ac_objext
    4650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4651   (eval $ac_compile) 2>conftest.er1
    4652   ac_status=$?
    4653   grep -v '^ *+' conftest.er1 >conftest.err
    4654   rm -f conftest.er1
    4655   cat conftest.err >&5
    4656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4657   (exit $ac_status); } &&
    4658          { ac_try='test -z "$ac_cxx_werror_flag"
    4659                          || test ! -s conftest.err'
    4660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4661   (eval $ac_try) 2>&5
    4662   ac_status=$?
    4663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4664   (exit $ac_status); }; } &&
    4665          { ac_try='test -s conftest.$ac_objext'
    4666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4667   (eval $ac_try) 2>&5
    4668   ac_status=$?
    4669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4670   (exit $ac_status); }; }; then
    4671   ac_compiler_gnu=yes
    4672 else
    4673   echo "$as_me: failed program was:" >&5
    4674 sed 's/^/| /' conftest.$ac_ext >&5
    4675 
    4676 ac_compiler_gnu=no
    4677 fi
    4678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4679 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    4680 
    4681 fi
    4682 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    4683 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    4684 GXX=`test $ac_compiler_gnu = yes && echo yes`
    4685 ac_test_CXXFLAGS=${CXXFLAGS+set}
    4686 ac_save_CXXFLAGS=$CXXFLAGS
    4687 CXXFLAGS="-g"
    4688 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    4689 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    4690 if test "${ac_cv_prog_cxx_g+set}" = set; then
    4691   echo $ECHO_N "(cached) $ECHO_C" >&6
    4692 else
    4693   cat >conftest.$ac_ext <<_ACEOF
    4694 /* confdefs.h.  */
    4695 _ACEOF
    4696 cat confdefs.h >>conftest.$ac_ext
    4697 cat >>conftest.$ac_ext <<_ACEOF
    4698 /* end confdefs.h.  */
    4699 
    4700 int
    4701 main ()
    4702 {
    4703 
    4704   ;
    4705   return 0;
    4706 }
    4707 _ACEOF
    4708 rm -f conftest.$ac_objext
    4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4710   (eval $ac_compile) 2>conftest.er1
    4711   ac_status=$?
    4712   grep -v '^ *+' conftest.er1 >conftest.err
    4713   rm -f conftest.er1
    4714   cat conftest.err >&5
    4715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4716   (exit $ac_status); } &&
    4717          { ac_try='test -z "$ac_cxx_werror_flag"
    4718                          || test ! -s conftest.err'
    4719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4720   (eval $ac_try) 2>&5
    4721   ac_status=$?
    4722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4723   (exit $ac_status); }; } &&
    4724          { ac_try='test -s conftest.$ac_objext'
    4725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4726   (eval $ac_try) 2>&5
    4727   ac_status=$?
    4728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4729   (exit $ac_status); }; }; then
    4730   ac_cv_prog_cxx_g=yes
    4731 else
    4732   echo "$as_me: failed program was:" >&5
    4733 sed 's/^/| /' conftest.$ac_ext >&5
    4734 
    4735 ac_cv_prog_cxx_g=no
    4736 fi
    4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4738 fi
    4739 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    4740 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    4741 if test "$ac_test_CXXFLAGS" = set; then
    4742   CXXFLAGS=$ac_save_CXXFLAGS
    4743 elif test $ac_cv_prog_cxx_g = yes; then
    4744   if test "$GXX" = yes; then
    4745     CXXFLAGS="-g -O2"
    4746   else
    4747     CXXFLAGS="-g"
    4748   fi
    4749 else
    4750   if test "$GXX" = yes; then
    4751     CXXFLAGS="-O2"
    4752   else
    4753     CXXFLAGS=
    4754   fi
    4755 fi
    4756 for ac_declaration in \
    4757    '' \
    4758    'extern "C" void std::exit (int) throw (); using std::exit;' \
    4759    'extern "C" void std::exit (int); using std::exit;' \
    4760    'extern "C" void exit (int) throw ();' \
    4761    'extern "C" void exit (int);' \
    4762    'void exit (int);'
    4763 do
    4764   cat >conftest.$ac_ext <<_ACEOF
    4765 /* confdefs.h.  */
    4766 _ACEOF
    4767 cat confdefs.h >>conftest.$ac_ext
    4768 cat >>conftest.$ac_ext <<_ACEOF
    4769 /* end confdefs.h.  */
    4770 $ac_declaration
    4771 #include <stdlib.h>
    4772 int
    4773 main ()
    4774 {
    4775 exit (42);
    4776   ;
    4777   return 0;
    4778 }
    4779 _ACEOF
    4780 rm -f conftest.$ac_objext
    4781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4782   (eval $ac_compile) 2>conftest.er1
    4783   ac_status=$?
    4784   grep -v '^ *+' conftest.er1 >conftest.err
    4785   rm -f conftest.er1
    4786   cat conftest.err >&5
    4787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4788   (exit $ac_status); } &&
    4789          { ac_try='test -z "$ac_cxx_werror_flag"
    4790                          || test ! -s conftest.err'
    4791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4792   (eval $ac_try) 2>&5
    4793   ac_status=$?
    4794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4795   (exit $ac_status); }; } &&
    4796          { ac_try='test -s conftest.$ac_objext'
    4797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4798   (eval $ac_try) 2>&5
    4799   ac_status=$?
    4800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4801   (exit $ac_status); }; }; then
    4802   :
    4803 else
    4804   echo "$as_me: failed program was:" >&5
    4805 sed 's/^/| /' conftest.$ac_ext >&5
    4806 
    4807 continue
    4808 fi
    4809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4810   cat >conftest.$ac_ext <<_ACEOF
    4811 /* confdefs.h.  */
    4812 _ACEOF
    4813 cat confdefs.h >>conftest.$ac_ext
    4814 cat >>conftest.$ac_ext <<_ACEOF
    4815 /* end confdefs.h.  */
    4816 $ac_declaration
    4817 int
    4818 main ()
    4819 {
    4820 exit (42);
    4821   ;
    4822   return 0;
    4823 }
    4824 _ACEOF
    4825 rm -f conftest.$ac_objext
    4826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4827   (eval $ac_compile) 2>conftest.er1
    4828   ac_status=$?
    4829   grep -v '^ *+' conftest.er1 >conftest.err
    4830   rm -f conftest.er1
    4831   cat conftest.err >&5
    4832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4833   (exit $ac_status); } &&
    4834          { ac_try='test -z "$ac_cxx_werror_flag"
    4835                          || test ! -s conftest.err'
    4836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4837   (eval $ac_try) 2>&5
    4838   ac_status=$?
    4839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4840   (exit $ac_status); }; } &&
    4841          { ac_try='test -s conftest.$ac_objext'
    4842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4843   (eval $ac_try) 2>&5
    4844   ac_status=$?
    4845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4846   (exit $ac_status); }; }; then
    4847   break
    4848 else
    4849   echo "$as_me: failed program was:" >&5
    4850 sed 's/^/| /' conftest.$ac_ext >&5
    4851 
    4852 fi
    4853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4854 done
    4855 rm -f conftest*
    4856 if test -n "$ac_declaration"; then
    4857   echo '#ifdef __cplusplus' >>confdefs.h
    4858   echo $ac_declaration      >>confdefs.h
    4859   echo '#endif'             >>confdefs.h
    4860 fi
    4861 
    4862 ac_ext=cc
    4863 ac_cpp='$CXXCPP $CPPFLAGS'
    4864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4867 
    4868 depcc="$CXX"  am_compiler_list=
    4869 
    4870 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    4871 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    4872 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
    4873   echo $ECHO_N "(cached) $ECHO_C" >&6
    4874 else
    4875   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    4876   # We make a subdir and do the tests there.  Otherwise we can end up
    4877   # making bogus files that we don't know about and never remove.  For
    4878   # instance it was reported that on HP-UX the gcc test will end up
    4879   # making a dummy file named `D' -- because `-MD' means `put the output
    4880   # in D'.
    4881   mkdir conftest.dir
    4882   # Copy depcomp to subdir because otherwise we won't find it if we're
    4883   # using a relative directory.
    4884   cp "$am_depcomp" conftest.dir
    4885   cd conftest.dir
    4886   # We will build objects and dependencies in a subdirectory because
    4887   # it helps to detect inapplicable dependency modes.  For instance
    4888   # both Tru64's cc and ICC support -MD to output dependencies as a
    4889   # side effect of compilation, but ICC will put the dependencies in
    4890   # the current directory while Tru64 will put them in the object
    4891   # directory.
    4892   mkdir sub
    4893 
    4894   am_cv_CXX_dependencies_compiler_type=none
    4895   if test "$am_compiler_list" = ""; then
    4896      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    4897   fi
    4898   for depmode in $am_compiler_list; do
    4899     # Setup a source with many dependencies, because some compilers
    4900     # like to wrap large dependency lists on column 80 (with \), and
    4901     # we should not choose a depcomp mode which is confused by this.
    4902     #
    4903     # We need to recreate these files for each test, as the compiler may
    4904     # overwrite some of them when testing with obscure command lines.
    4905     # This happens at least with the AIX C compiler.
    4906     : > sub/conftest.c
    4907     for i in 1 2 3 4 5 6; do
    4908       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    4909       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    4910       # Solaris 8's {/usr,}/bin/sh.
    4911       touch sub/conftst$i.h
    4912     done
    4913     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    4914 
    4915     case $depmode in
    4916     nosideeffect)
    4917       # after this tag, mechanisms are not by side-effect, so they'll
    4918       # only be used when explicitly requested
    4919       if test "x$enable_dependency_tracking" = xyes; then
    4920         continue
    4921       else
    4922         break
    4923       fi
    4924       ;;
    4925     none) break ;;
    4926     esac
    4927     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    4928     # mode.  It turns out that the SunPro C++ compiler does not properly
    4929     # handle `-M -o', and we need to detect this.
    4930     if depmode=$depmode \
    4931        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    4932        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    4933        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    4934          >/dev/null 2>conftest.err &&
    4935        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    4936        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    4937        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    4938       # icc doesn't choke on unknown options, it will just issue warnings
    4939       # (even with -Werror).  So we grep stderr for any message
    4940       # that says an option was ignored.
    4941       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
    4942         am_cv_CXX_dependencies_compiler_type=$depmode
    4943         break
    4944       fi
    4945     fi
    4946   done
    4947 
    4948   cd ..
    4949   rm -rf conftest.dir
    4950 else
    4951   am_cv_CXX_dependencies_compiler_type=none
    4952 fi
    4953 
    4954 fi
    4955 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
    4956 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
    4957 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
    4958 
    4959 
    4960 
    4961 if
    4962   test "x$enable_dependency_tracking" != xno \
    4963   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
    4964   am__fastdepCXX_TRUE=
    4965   am__fastdepCXX_FALSE='#'
    4966 else
    4967   am__fastdepCXX_TRUE='#'
    4968   am__fastdepCXX_FALSE=
    4969 fi
    4970 
    4971 
    4972 ac_ext=cc
    4973 ac_cpp='$CXXCPP $CPPFLAGS'
    4974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4977 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    4978 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    4979 if test -z "$CXXCPP"; then
    4980   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    4981   echo $ECHO_N "(cached) $ECHO_C" >&6
    4982 else
    4983       # Double quotes because CXXCPP needs to be expanded
    4984     for CXXCPP in "$CXX -E" "/lib/cpp"
    4985     do
    4986       ac_preproc_ok=false
    4987 for ac_cxx_preproc_warn_flag in '' yes
    4988 do
    4989   # Use a header file that comes with gcc, so configuring glibc
    4990   # with a fresh cross-compiler works.
    4991   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4992   # <limits.h> exists even on freestanding compilers.
    4993   # On the NeXT, cc -E runs the code through the compiler's parser,
    4994   # not just through cpp. "Syntax error" is here to catch this case.
    4995   cat >conftest.$ac_ext <<_ACEOF
    4996 /* confdefs.h.  */
    4997 _ACEOF
    4998 cat confdefs.h >>conftest.$ac_ext
    4999 cat >>conftest.$ac_ext <<_ACEOF
    5000 /* end confdefs.h.  */
    5001 #ifdef __STDC__
    5002 # include <limits.h>
    5003 #else
    5004 # include <assert.h>
    5005 #endif
    5006                      Syntax error
    5007 _ACEOF
    5008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5009   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5010   ac_status=$?
    5011   grep -v '^ *+' conftest.er1 >conftest.err
    5012   rm -f conftest.er1
    5013   cat conftest.err >&5
    5014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5015   (exit $ac_status); } >/dev/null; then
    5016   if test -s conftest.err; then
    5017     ac_cpp_err=$ac_cxx_preproc_warn_flag
    5018     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5019   else
    5020     ac_cpp_err=
    5021   fi
    5022 else
    5023   ac_cpp_err=yes
    5024 fi
    5025 if test -z "$ac_cpp_err"; then
    5026   :
    5027 else
    5028   echo "$as_me: failed program was:" >&5
    5029 sed 's/^/| /' conftest.$ac_ext >&5
    5030 
    5031   # Broken: fails on valid input.
    5032 continue
    5033 fi
    5034 rm -f conftest.err conftest.$ac_ext
    5035 
    5036   # OK, works on sane cases.  Now check whether non-existent headers
    5037   # can be detected and how.
    5038   cat >conftest.$ac_ext <<_ACEOF
    5039 /* confdefs.h.  */
    5040 _ACEOF
    5041 cat confdefs.h >>conftest.$ac_ext
    5042 cat >>conftest.$ac_ext <<_ACEOF
    5043 /* end confdefs.h.  */
    5044 #include <ac_nonexistent.h>
    5045 _ACEOF
    5046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5047   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5048   ac_status=$?
    5049   grep -v '^ *+' conftest.er1 >conftest.err
    5050   rm -f conftest.er1
    5051   cat conftest.err >&5
    5052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5053   (exit $ac_status); } >/dev/null; then
    5054   if test -s conftest.err; then
    5055     ac_cpp_err=$ac_cxx_preproc_warn_flag
    5056     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5057   else
    5058     ac_cpp_err=
    5059   fi
    5060 else
    5061   ac_cpp_err=yes
    5062 fi
    5063 if test -z "$ac_cpp_err"; then
    5064   # Broken: success on invalid input.
    5065 continue
    5066 else
    5067   echo "$as_me: failed program was:" >&5
    5068 sed 's/^/| /' conftest.$ac_ext >&5
    5069 
    5070   # Passes both tests.
    5071 ac_preproc_ok=:
    5072 break
    5073 fi
    5074 rm -f conftest.err conftest.$ac_ext
    5075 
    5076 done
    5077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5078 rm -f conftest.err conftest.$ac_ext
    5079 if $ac_preproc_ok; then
    5080   break
    5081 fi
    5082 
    5083     done
    5084     ac_cv_prog_CXXCPP=$CXXCPP
    5085 
    5086 fi
    5087   CXXCPP=$ac_cv_prog_CXXCPP
    5088 else
    5089   ac_cv_prog_CXXCPP=$CXXCPP
    5090 fi
    5091 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    5092 echo "${ECHO_T}$CXXCPP" >&6
    5093 ac_preproc_ok=false
    5094 for ac_cxx_preproc_warn_flag in '' yes
    5095 do
    5096   # Use a header file that comes with gcc, so configuring glibc
    5097   # with a fresh cross-compiler works.
    5098   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5099   # <limits.h> exists even on freestanding compilers.
    5100   # On the NeXT, cc -E runs the code through the compiler's parser,
    5101   # not just through cpp. "Syntax error" is here to catch this case.
    5102   cat >conftest.$ac_ext <<_ACEOF
    5103 /* confdefs.h.  */
    5104 _ACEOF
    5105 cat confdefs.h >>conftest.$ac_ext
    5106 cat >>conftest.$ac_ext <<_ACEOF
    5107 /* end confdefs.h.  */
    5108 #ifdef __STDC__
    5109 # include <limits.h>
    5110 #else
    5111 # include <assert.h>
    5112 #endif
    5113                      Syntax error
    5114 _ACEOF
    5115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5116   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5117   ac_status=$?
    5118   grep -v '^ *+' conftest.er1 >conftest.err
    5119   rm -f conftest.er1
    5120   cat conftest.err >&5
    5121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5122   (exit $ac_status); } >/dev/null; then
    5123   if test -s conftest.err; then
    5124     ac_cpp_err=$ac_cxx_preproc_warn_flag
    5125     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5126   else
    5127     ac_cpp_err=
    5128   fi
    5129 else
    5130   ac_cpp_err=yes
    5131 fi
    5132 if test -z "$ac_cpp_err"; then
    5133   :
    5134 else
    5135   echo "$as_me: failed program was:" >&5
    5136 sed 's/^/| /' conftest.$ac_ext >&5
    5137 
    5138   # Broken: fails on valid input.
    5139 continue
    5140 fi
    5141 rm -f conftest.err conftest.$ac_ext
    5142 
    5143   # OK, works on sane cases.  Now check whether non-existent headers
    5144   # can be detected and how.
    5145   cat >conftest.$ac_ext <<_ACEOF
    5146 /* confdefs.h.  */
    5147 _ACEOF
    5148 cat confdefs.h >>conftest.$ac_ext
    5149 cat >>conftest.$ac_ext <<_ACEOF
    5150 /* end confdefs.h.  */
    5151 #include <ac_nonexistent.h>
    5152 _ACEOF
    5153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5154   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5155   ac_status=$?
    5156   grep -v '^ *+' conftest.er1 >conftest.err
    5157   rm -f conftest.er1
    5158   cat conftest.err >&5
    5159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5160   (exit $ac_status); } >/dev/null; then
    5161   if test -s conftest.err; then
    5162     ac_cpp_err=$ac_cxx_preproc_warn_flag
    5163     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    5164   else
    5165     ac_cpp_err=
    5166   fi
    5167 else
    5168   ac_cpp_err=yes
    5169 fi
    5170 if test -z "$ac_cpp_err"; then
    5171   # Broken: success on invalid input.
    5172 continue
    5173 else
    5174   echo "$as_me: failed program was:" >&5
    5175 sed 's/^/| /' conftest.$ac_ext >&5
    5176 
    5177   # Passes both tests.
    5178 ac_preproc_ok=:
    5179 break
    5180 fi
    5181 rm -f conftest.err conftest.$ac_ext
    5182 
    5183 done
    5184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5185 rm -f conftest.err conftest.$ac_ext
    5186 if $ac_preproc_ok; then
    5187   :
    5188 else
    5189   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5190 See \`config.log' for more details." >&5
    5191 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5192 See \`config.log' for more details." >&2;}
    5193    { (exit 1); exit 1; }; }
    5194 fi
    5195 
    5196 ac_ext=cc
    5197 ac_cpp='$CXXCPP $CPPFLAGS'
    5198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    5201 
    5202 
    5203 ac_ext=f
    5204 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    5205 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5206 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    5207 if test -n "$ac_tool_prefix"; then
    5208   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
    5209   do
    5210     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    5211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    5212 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5214 if test "${ac_cv_prog_F77+set}" = set; then
    5215   echo $ECHO_N "(cached) $ECHO_C" >&6
    5216 else
    5217   if test -n "$F77"; then
    5218   ac_cv_prog_F77="$F77" # Let the user override the test.
    5219 else
    5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5221 for as_dir in $PATH
    5222 do
    5223   IFS=$as_save_IFS
    5224   test -z "$as_dir" && as_dir=.
    5225   for ac_exec_ext in '' $ac_executable_extensions; do
    5226   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5227     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    5228     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5229     break 2
    5230   fi
    5231 done
    5232 done
    5233 
    5234 fi
    5235 fi
    5236 F77=$ac_cv_prog_F77
    5237 if test -n "$F77"; then
    5238   echo "$as_me:$LINENO: result: $F77" >&5
    5239 echo "${ECHO_T}$F77" >&6
    5240 else
    5241   echo "$as_me:$LINENO: result: no" >&5
    5242 echo "${ECHO_T}no" >&6
    5243 fi
    5244 
    5245     test -n "$F77" && break
    5246   done
    5247 fi
    5248 if test -z "$F77"; then
    5249   ac_ct_F77=$F77
    5250   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
    5251 do
    5252   # Extract the first word of "$ac_prog", so it can be a program name with args.
    5253 set dummy $ac_prog; ac_word=$2
    5254 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5256 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    5257   echo $ECHO_N "(cached) $ECHO_C" >&6
    5258 else
    5259   if test -n "$ac_ct_F77"; then
    5260   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
    5261 else
    5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5263 for as_dir in $PATH
    5264 do
    5265   IFS=$as_save_IFS
    5266   test -z "$as_dir" && as_dir=.
    5267   for ac_exec_ext in '' $ac_executable_extensions; do
    5268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5269     ac_cv_prog_ac_ct_F77="$ac_prog"
    5270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5271     break 2
    5272   fi
    5273 done
    5274 done
    5275 
    5276 fi
    5277 fi
    5278 ac_ct_F77=$ac_cv_prog_ac_ct_F77
    5279 if test -n "$ac_ct_F77"; then
    5280   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    5281 echo "${ECHO_T}$ac_ct_F77" >&6
    5282 else
    5283   echo "$as_me:$LINENO: result: no" >&5
    5284 echo "${ECHO_T}no" >&6
    5285 fi
    5286 
    5287   test -n "$ac_ct_F77" && break
    5288 done
    5289 
    5290   F77=$ac_ct_F77
    5291 fi
    5292 
    5293 
    5294 # Provide some information about the compiler.
    5295 echo "$as_me:5295:" \
    5296      "checking for Fortran 77 compiler version" >&5
    5297 ac_compiler=`set X $ac_compile; echo $2`
    5298 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    5299   (eval $ac_compiler --version </dev/null >&5) 2>&5
    5300   ac_status=$?
    5301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5302   (exit $ac_status); }
    5303 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    5304   (eval $ac_compiler -v </dev/null >&5) 2>&5
    5305   ac_status=$?
    5306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5307   (exit $ac_status); }
    5308 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    5309   (eval $ac_compiler -V </dev/null >&5) 2>&5
    5310   ac_status=$?
    5311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5312   (exit $ac_status); }
    5313 rm -f a.out
    5314 
    5315 # If we don't use `.F' as extension, the preprocessor is not run on the
    5316 # input file.  (Note that this only needs to work for GNU compilers.)
    5317 ac_save_ext=$ac_ext
    5318 ac_ext=F
    5319 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    5320 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
    5321 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    5322   echo $ECHO_N "(cached) $ECHO_C" >&6
    5323 else
    5324   cat >conftest.$ac_ext <<_ACEOF
    5325       program main
    5326 #ifndef __GNUC__
    5327        choke me
    5328 #endif
    5329 
    5330       end
    5331 _ACEOF
    5332 rm -f conftest.$ac_objext
    5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5334   (eval $ac_compile) 2>conftest.er1
    5335   ac_status=$?
    5336   grep -v '^ *+' conftest.er1 >conftest.err
    5337   rm -f conftest.er1
    5338   cat conftest.err >&5
    5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5340   (exit $ac_status); } &&
    5341          { ac_try='test -z "$ac_f77_werror_flag"
    5342                          || test ! -s conftest.err'
    5343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5344   (eval $ac_try) 2>&5
    5345   ac_status=$?
    5346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5347   (exit $ac_status); }; } &&
    5348          { ac_try='test -s conftest.$ac_objext'
    5349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5350   (eval $ac_try) 2>&5
    5351   ac_status=$?
    5352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5353   (exit $ac_status); }; }; then
    5354   ac_compiler_gnu=yes
    5355 else
    5356   echo "$as_me: failed program was:" >&5
    5357 sed 's/^/| /' conftest.$ac_ext >&5
    5358 
    5359 ac_compiler_gnu=no
    5360 fi
    5361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5362 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    5363 
    5364 fi
    5365 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    5366 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
    5367 ac_ext=$ac_save_ext
    5368 ac_test_FFLAGS=${FFLAGS+set}
    5369 ac_save_FFLAGS=$FFLAGS
    5370 FFLAGS=
    5371 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    5372 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
    5373 if test "${ac_cv_prog_f77_g+set}" = set; then
    5374   echo $ECHO_N "(cached) $ECHO_C" >&6
    5375 else
    5376   FFLAGS=-g
    5377 cat >conftest.$ac_ext <<_ACEOF
    5378       program main
    5379 
    5380       end
    5381 _ACEOF
    5382 rm -f conftest.$ac_objext
    5383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5384   (eval $ac_compile) 2>conftest.er1
    5385   ac_status=$?
    5386   grep -v '^ *+' conftest.er1 >conftest.err
    5387   rm -f conftest.er1
    5388   cat conftest.err >&5
    5389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5390   (exit $ac_status); } &&
    5391          { ac_try='test -z "$ac_f77_werror_flag"
    5392                          || test ! -s conftest.err'
    5393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5394   (eval $ac_try) 2>&5
    5395   ac_status=$?
    5396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5397   (exit $ac_status); }; } &&
    5398          { ac_try='test -s conftest.$ac_objext'
    5399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5400   (eval $ac_try) 2>&5
    5401   ac_status=$?
    5402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5403   (exit $ac_status); }; }; then
    5404   ac_cv_prog_f77_g=yes
    5405 else
    5406   echo "$as_me: failed program was:" >&5
    5407 sed 's/^/| /' conftest.$ac_ext >&5
    5408 
    5409 ac_cv_prog_f77_g=no
    5410 fi
    5411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5412 
    5413 fi
    5414 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    5415 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
    5416 if test "$ac_test_FFLAGS" = set; then
    5417   FFLAGS=$ac_save_FFLAGS
    5418 elif test $ac_cv_prog_f77_g = yes; then
    5419   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    5420     FFLAGS="-g -O2"
    5421   else
    5422     FFLAGS="-g"
    5423   fi
    5424 else
    5425   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    5426     FFLAGS="-O2"
    5427   else
    5428     FFLAGS=
    5429   fi
    5430 fi
    5431 
    5432 G77=`test $ac_compiler_gnu = yes && echo yes`
    5433 ac_ext=c
    5434 ac_cpp='$CPP $CPPFLAGS'
    5435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5438 
    5439 
    5440 
    5441 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
    5442 
    5443 # find the maximum length of command line arguments
    5444 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
    5445 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
    5446 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
    5447   echo $ECHO_N "(cached) $ECHO_C" >&6
    5448 else
    5449     i=0
    5450   teststring="ABCD"
    5451 
    5452   case $build_os in
    5453   msdosdjgpp*)
    5454     # On DJGPP, this test can blow up pretty badly due to problems in libc
    5455     # (any single argument exceeding 2000 bytes causes a buffer overrun
    5456     # during glob expansion).  Even if it were fixed, the result of this
    5457     # check would be larger than it should be.
    5458     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    5459     ;;
    5460 
    5461   gnu*)
    5462     # Under GNU Hurd, this test is not required because there is
    5463     # no limit to the length of command line arguments.
    5464     # Libtool will interpret -1 as no limit whatsoever
    5465     lt_cv_sys_max_cmd_len=-1;
    5466     ;;
    5467 
    5468   cygwin* | mingw*)
    5469     # On Win9x/ME, this test blows up -- it succeeds, but takes
    5470     # about 5 minutes as the teststring grows exponentially.
    5471     # Worse, since 9x/ME are not pre-emptively multitasking,
    5472     # you end up with a "frozen" computer, even though with patience
    5473     # the test eventually succeeds (with a max line length of 256k).
    5474     # Instead, let's just punt: use the minimum linelength reported by
    5475     # all of the supported platforms: 8192 (on NT/2K/XP).
    5476     lt_cv_sys_max_cmd_len=8192;
    5477     ;;
    5478 
    5479   amigaos*)
    5480     # On AmigaOS with pdksh, this test takes hours, literally.
    5481     # So we just punt and use a minimum line length of 8192.
    5482     lt_cv_sys_max_cmd_len=8192;
    5483     ;;
    5484 
    5485  *)
    5486     # If test is not a shell built-in, we'll probably end up computing a
    5487     # maximum length that is only half of the actual maximum length, but
    5488     # we can't tell.
    5489     while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
    5490                = "XX$teststring") >/dev/null 2>&1 &&
    5491             new_result=`expr "X$teststring" : ".*" 2>&1` &&
    5492             lt_cv_sys_max_cmd_len=$new_result &&
    5493             test $i != 17 # 1/2 MB should be enough
    5494     do
    5495       i=`expr $i + 1`
    5496       teststring=$teststring$teststring
    5497     done
    5498     teststring=
    5499     # Add a significant safety factor because C++ compilers can tack on massive
    5500     # amounts of additional arguments before passing them to the linker.
    5501     # It appears as though 1/2 is a usable value.
    5502     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
    5503     ;;
    5504   esac
    5505 
    5506 fi
    5507 
    5508 if test -n $lt_cv_sys_max_cmd_len ; then
    5509   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
    5510 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
    5511 else
    5512   echo "$as_me:$LINENO: result: none" >&5
    5513 echo "${ECHO_T}none" >&6
    5514 fi
     3492
     3493
     3494
     3495
    55153496
    55163497
     
    55183499
    55193500# Check for command to grab the raw symbol name followed by C symbol from nm.
    5520 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
    5521 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
     3501echo "$as_me:$LINENO: checking command to parse $NM output" >&5
     3502echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
    55223503if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
    55233504  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55373518
    55383519# Transform an extracted symbol line into a proper C declaration
    5539 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
     3520lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
    55403521
    55413522# Transform an extracted symbol line into symbol name and symbol address
    5542 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
     3523lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    55433524
    55443525# Define system-specific variables.
     
    55513532  ;;
    55523533hpux*) # Its linker distinguishes data from code symbols
    5553   if test "$host_cpu" = ia64; then
    5554     symcode='[ABCDEGRST]'
    5555   fi
    5556   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
    5557   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
     3534  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     3535  lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
    55583536  ;;
    55593537irix* | nonstopux*)
     
    55643542  ;;
    55653543solaris* | sysv5*)
    5566   symcode='[BDRT]'
     3544  symcode='[BDT]'
    55673545  ;;
    55683546sysv4)
     
    55733551# Handle CRLF in mingw tool chain
    55743552opt_cr=
    5575 case $build_os in
     3553case $host_os in
    55763554mingw*)
    55773555  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     
    55803558
    55813559# If we're using GNU nm, then use its standard symbol codes.
    5582 case `$NM -V 2>&1` in
    5583 *GNU* | *'with BFD'*)
    5584   symcode='[ABCDGIRSTW]' ;;
    5585 esac
     3560if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
     3561  symcode='[ABCDGISTW]'
     3562fi
    55863563
    55873564# Try without a prefix undercore, then with it.
     
    55893566
    55903567  # Write the raw and C identifiers.
    5591   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
     3568lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
    55923569
    55933570  # Check to see that the pipe works correctly.
    55943571  pipe_works=no
    5595 
    55963572  rm -f conftest*
    55973573  cat > conftest.$ac_ext <<EOF
     
    56273603
    56283604      # Make sure that we snagged all the symbols we need.
    5629       if grep ' nm_test_var$' "$nlist" >/dev/null; then
    5630         if grep ' nm_test_func$' "$nlist" >/dev/null; then
     3605      if egrep ' nm_test_var$' "$nlist" >/dev/null; then
     3606        if egrep ' nm_test_func$' "$nlist" >/dev/null; then
    56313607          cat <<EOF > conftest.$ac_ext
    56323608#ifdef __cplusplus
     
    56363612EOF
    56373613          # Now generate the symbol file.
    5638           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
     3614          eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
    56393615
    56403616          cat <<EOF >> conftest.$ac_ext
    56413617#if defined (__STDC__) && __STDC__
    5642 # define lt_ptr_t void *
     3618# define lt_ptr void *
    56433619#else
    5644 # define lt_ptr_t char *
     3620# define lt_ptr char *
    56453621# define const
    56463622#endif
     
    56493625const struct {
    56503626  const char *name;
    5651   lt_ptr_t address;
     3627  lt_ptr address;
    56523628}
    56533629lt_preloaded_symbols[] =
    56543630{
    56553631EOF
    5656           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
     3632          sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
    56573633          cat <<\EOF >> conftest.$ac_ext
    5658   {0, (lt_ptr_t) 0}
     3634  {0, (lt_ptr) 0}
    56593635};
    56603636
     
    56653641          # Now try linking the two files.
    56663642          mv conftest.$ac_objext conftstm.$ac_objext
    5667           lt_save_LIBS="$LIBS"
    5668           lt_save_CFLAGS="$CFLAGS"
     3643          save_LIBS="$LIBS"
     3644          save_CFLAGS="$CFLAGS"
    56693645          LIBS="conftstm.$ac_objext"
    5670           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     3646          CFLAGS="$CFLAGS$no_builtin_flag"
    56713647          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    56723648  (eval $ac_link) 2>&5
    56733649  ac_status=$?
    56743650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5675   (exit $ac_status); } && test -s conftest${ac_exeext}; then
     3651  (exit $ac_status); } && test -s conftest$ac_exeext; then
    56763652            pipe_works=yes
    56773653          fi
    5678           LIBS="$lt_save_LIBS"
    5679           CFLAGS="$lt_save_CFLAGS"
     3654          LIBS="$save_LIBS"
     3655          CFLAGS="$save_CFLAGS"
    56803656        else
    56813657          echo "cannot find nm_test_func in $nlist" >&5
     
    57033679fi
    57043680
     3681global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
    57053682if test -z "$lt_cv_sys_global_symbol_pipe"; then
    5706   lt_cv_sys_global_symbol_to_cdecl=
    5707 fi
    5708 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     3683  global_symbol_to_cdecl=
     3684  global_symbol_to_c_name_address=
     3685else
     3686  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
     3687  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
     3688fi
     3689if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
     3690then
    57093691  echo "$as_me:$LINENO: result: failed" >&5
    57103692echo "${ECHO_T}failed" >&6
     
    57143696fi
    57153697
    5716 echo "$as_me:$LINENO: checking for objdir" >&5
    5717 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
    5718 if test "${lt_cv_objdir+set}" = set; then
     3698ac_ext=c
     3699ac_cpp='$CPP $CPPFLAGS'
     3700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3702ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3703echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3704echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3705# On Suns, sometimes $CPP names a directory.
     3706if test -n "$CPP" && test -d "$CPP"; then
     3707  CPP=
     3708fi
     3709if test -z "$CPP"; then
     3710  if test "${ac_cv_prog_CPP+set}" = set; then
    57193711  echo $ECHO_N "(cached) $ECHO_C" >&6
    57203712else
    5721   rm -f .libs 2>/dev/null
    5722 mkdir .libs 2>/dev/null
    5723 if test -d .libs; then
    5724   lt_cv_objdir=.libs
    5725 else
    5726   # MS-DOS does not allow filenames that begin with a dot.
    5727   lt_cv_objdir=_libs
    5728 fi
    5729 rmdir .libs 2>/dev/null
    5730 fi
    5731 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
    5732 echo "${ECHO_T}$lt_cv_objdir" >&6
    5733 objdir=$lt_cv_objdir
    5734 
    5735 
    5736 
    5737 
    5738 
    5739 case $host_os in
    5740 aix3*)
    5741   # AIX sometimes has problems with the GCC collect2 program.  For some
    5742   # reason, if we set the COLLECT_NAMES environment variable, the problems
    5743   # vanish in a puff of smoke.
    5744   if test "X${COLLECT_NAMES+set}" != Xset; then
    5745     COLLECT_NAMES=
    5746     export COLLECT_NAMES
     3713      # Double quotes because CPP needs to be expanded
     3714    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     3715    do
     3716      ac_preproc_ok=false
     3717for ac_c_preproc_warn_flag in '' yes
     3718do
     3719  # Use a header file that comes with gcc, so configuring glibc
     3720  # with a fresh cross-compiler works.
     3721  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3722  # <limits.h> exists even on freestanding compilers.
     3723  # On the NeXT, cc -E runs the code through the compiler's parser,
     3724  # not just through cpp. "Syntax error" is here to catch this case.
     3725  cat >conftest.$ac_ext <<_ACEOF
     3726#line $LINENO "configure"
     3727/* confdefs.h.  */
     3728_ACEOF
     3729cat confdefs.h >>conftest.$ac_ext
     3730cat >>conftest.$ac_ext <<_ACEOF
     3731/* end confdefs.h.  */
     3732#ifdef __STDC__
     3733# include <limits.h>
     3734#else
     3735# include <assert.h>
     3736#endif
     3737                     Syntax error
     3738_ACEOF
     3739if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3740  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3741  ac_status=$?
     3742  grep -v '^ *+' conftest.er1 >conftest.err
     3743  rm -f conftest.er1
     3744  cat conftest.err >&5
     3745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3746  (exit $ac_status); } >/dev/null; then
     3747  if test -s conftest.err; then
     3748    ac_cpp_err=$ac_c_preproc_warn_flag
     3749  else
     3750    ac_cpp_err=
     3751  fi
     3752else
     3753  ac_cpp_err=yes
     3754fi
     3755if test -z "$ac_cpp_err"; then
     3756  :
     3757else
     3758  echo "$as_me: failed program was:" >&5
     3759sed 's/^/| /' conftest.$ac_ext >&5
     3760
     3761  # Broken: fails on valid input.
     3762continue
     3763fi
     3764rm -f conftest.err conftest.$ac_ext
     3765
     3766  # OK, works on sane cases.  Now check whether non-existent headers
     3767  # can be detected and how.
     3768  cat >conftest.$ac_ext <<_ACEOF
     3769#line $LINENO "configure"
     3770/* confdefs.h.  */
     3771_ACEOF
     3772cat confdefs.h >>conftest.$ac_ext
     3773cat >>conftest.$ac_ext <<_ACEOF
     3774/* end confdefs.h.  */
     3775#include <ac_nonexistent.h>
     3776_ACEOF
     3777if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3778  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3779  ac_status=$?
     3780  grep -v '^ *+' conftest.er1 >conftest.err
     3781  rm -f conftest.er1
     3782  cat conftest.err >&5
     3783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3784  (exit $ac_status); } >/dev/null; then
     3785  if test -s conftest.err; then
     3786    ac_cpp_err=$ac_c_preproc_warn_flag
     3787  else
     3788    ac_cpp_err=
     3789  fi
     3790else
     3791  ac_cpp_err=yes
     3792fi
     3793if test -z "$ac_cpp_err"; then
     3794  # Broken: success on invalid input.
     3795continue
     3796else
     3797  echo "$as_me: failed program was:" >&5
     3798sed 's/^/| /' conftest.$ac_ext >&5
     3799
     3800  # Passes both tests.
     3801ac_preproc_ok=:
     3802break
     3803fi
     3804rm -f conftest.err conftest.$ac_ext
     3805
     3806done
     3807# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3808rm -f conftest.err conftest.$ac_ext
     3809if $ac_preproc_ok; then
     3810  break
     3811fi
     3812
     3813    done
     3814    ac_cv_prog_CPP=$CPP
     3815
     3816fi
     3817  CPP=$ac_cv_prog_CPP
     3818else
     3819  ac_cv_prog_CPP=$CPP
     3820fi
     3821echo "$as_me:$LINENO: result: $CPP" >&5
     3822echo "${ECHO_T}$CPP" >&6
     3823ac_preproc_ok=false
     3824for ac_c_preproc_warn_flag in '' yes
     3825do
     3826  # Use a header file that comes with gcc, so configuring glibc
     3827  # with a fresh cross-compiler works.
     3828  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3829  # <limits.h> exists even on freestanding compilers.
     3830  # On the NeXT, cc -E runs the code through the compiler's parser,
     3831  # not just through cpp. "Syntax error" is here to catch this case.
     3832  cat >conftest.$ac_ext <<_ACEOF
     3833#line $LINENO "configure"
     3834/* confdefs.h.  */
     3835_ACEOF
     3836cat confdefs.h >>conftest.$ac_ext
     3837cat >>conftest.$ac_ext <<_ACEOF
     3838/* end confdefs.h.  */
     3839#ifdef __STDC__
     3840# include <limits.h>
     3841#else
     3842# include <assert.h>
     3843#endif
     3844                     Syntax error
     3845_ACEOF
     3846if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3847  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3848  ac_status=$?
     3849  grep -v '^ *+' conftest.er1 >conftest.err
     3850  rm -f conftest.er1
     3851  cat conftest.err >&5
     3852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3853  (exit $ac_status); } >/dev/null; then
     3854  if test -s conftest.err; then
     3855    ac_cpp_err=$ac_c_preproc_warn_flag
     3856  else
     3857    ac_cpp_err=
     3858  fi
     3859else
     3860  ac_cpp_err=yes
     3861fi
     3862if test -z "$ac_cpp_err"; then
     3863  :
     3864else
     3865  echo "$as_me: failed program was:" >&5
     3866sed 's/^/| /' conftest.$ac_ext >&5
     3867
     3868  # Broken: fails on valid input.
     3869continue
     3870fi
     3871rm -f conftest.err conftest.$ac_ext
     3872
     3873  # OK, works on sane cases.  Now check whether non-existent headers
     3874  # can be detected and how.
     3875  cat >conftest.$ac_ext <<_ACEOF
     3876#line $LINENO "configure"
     3877/* confdefs.h.  */
     3878_ACEOF
     3879cat confdefs.h >>conftest.$ac_ext
     3880cat >>conftest.$ac_ext <<_ACEOF
     3881/* end confdefs.h.  */
     3882#include <ac_nonexistent.h>
     3883_ACEOF
     3884if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3885  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3886  ac_status=$?
     3887  grep -v '^ *+' conftest.er1 >conftest.err
     3888  rm -f conftest.er1
     3889  cat conftest.err >&5
     3890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3891  (exit $ac_status); } >/dev/null; then
     3892  if test -s conftest.err; then
     3893    ac_cpp_err=$ac_c_preproc_warn_flag
     3894  else
     3895    ac_cpp_err=
     3896  fi
     3897else
     3898  ac_cpp_err=yes
     3899fi
     3900if test -z "$ac_cpp_err"; then
     3901  # Broken: success on invalid input.
     3902continue
     3903else
     3904  echo "$as_me: failed program was:" >&5
     3905sed 's/^/| /' conftest.$ac_ext >&5
     3906
     3907  # Passes both tests.
     3908ac_preproc_ok=:
     3909break
     3910fi
     3911rm -f conftest.err conftest.$ac_ext
     3912
     3913done
     3914# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3915rm -f conftest.err conftest.$ac_ext
     3916if $ac_preproc_ok; then
     3917  :
     3918else
     3919  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3920See \`config.log' for more details." >&5
     3921echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3922See \`config.log' for more details." >&2;}
     3923   { (exit 1); exit 1; }; }
     3924fi
     3925
     3926ac_ext=c
     3927ac_cpp='$CPP $CPPFLAGS'
     3928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3930ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3931
     3932
     3933echo "$as_me:$LINENO: checking for egrep" >&5
     3934echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3935if test "${ac_cv_prog_egrep+set}" = set; then
     3936  echo $ECHO_N "(cached) $ECHO_C" >&6
     3937else
     3938  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3939    then ac_cv_prog_egrep='grep -E'
     3940    else ac_cv_prog_egrep='egrep'
     3941    fi
     3942fi
     3943echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3944echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3945 EGREP=$ac_cv_prog_egrep
     3946
     3947
     3948echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3949echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3950if test "${ac_cv_header_stdc+set}" = set; then
     3951  echo $ECHO_N "(cached) $ECHO_C" >&6
     3952else
     3953  cat >conftest.$ac_ext <<_ACEOF
     3954#line $LINENO "configure"
     3955/* confdefs.h.  */
     3956_ACEOF
     3957cat confdefs.h >>conftest.$ac_ext
     3958cat >>conftest.$ac_ext <<_ACEOF
     3959/* end confdefs.h.  */
     3960#include <stdlib.h>
     3961#include <stdarg.h>
     3962#include <string.h>
     3963#include <float.h>
     3964
     3965int
     3966main ()
     3967{
     3968
     3969  ;
     3970  return 0;
     3971}
     3972_ACEOF
     3973rm -f conftest.$ac_objext
     3974if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3975  (eval $ac_compile) 2>&5
     3976  ac_status=$?
     3977  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3978  (exit $ac_status); } &&
     3979         { ac_try='test -s conftest.$ac_objext'
     3980  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3981  (eval $ac_try) 2>&5
     3982  ac_status=$?
     3983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3984  (exit $ac_status); }; }; then
     3985  ac_cv_header_stdc=yes
     3986else
     3987  echo "$as_me: failed program was:" >&5
     3988sed 's/^/| /' conftest.$ac_ext >&5
     3989
     3990ac_cv_header_stdc=no
     3991fi
     3992rm -f conftest.$ac_objext conftest.$ac_ext
     3993
     3994if test $ac_cv_header_stdc = yes; then
     3995  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     3996  cat >conftest.$ac_ext <<_ACEOF
     3997#line $LINENO "configure"
     3998/* confdefs.h.  */
     3999_ACEOF
     4000cat confdefs.h >>conftest.$ac_ext
     4001cat >>conftest.$ac_ext <<_ACEOF
     4002/* end confdefs.h.  */
     4003#include <string.h>
     4004
     4005_ACEOF
     4006if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4007  $EGREP "memchr" >/dev/null 2>&1; then
     4008  :
     4009else
     4010  ac_cv_header_stdc=no
     4011fi
     4012rm -f conftest*
     4013
     4014fi
     4015
     4016if test $ac_cv_header_stdc = yes; then
     4017  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     4018  cat >conftest.$ac_ext <<_ACEOF
     4019#line $LINENO "configure"
     4020/* confdefs.h.  */
     4021_ACEOF
     4022cat confdefs.h >>conftest.$ac_ext
     4023cat >>conftest.$ac_ext <<_ACEOF
     4024/* end confdefs.h.  */
     4025#include <stdlib.h>
     4026
     4027_ACEOF
     4028if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4029  $EGREP "free" >/dev/null 2>&1; then
     4030  :
     4031else
     4032  ac_cv_header_stdc=no
     4033fi
     4034rm -f conftest*
     4035
     4036fi
     4037
     4038if test $ac_cv_header_stdc = yes; then
     4039  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4040  if test "$cross_compiling" = yes; then
     4041  :
     4042else
     4043  cat >conftest.$ac_ext <<_ACEOF
     4044#line $LINENO "configure"
     4045/* confdefs.h.  */
     4046_ACEOF
     4047cat confdefs.h >>conftest.$ac_ext
     4048cat >>conftest.$ac_ext <<_ACEOF
     4049/* end confdefs.h.  */
     4050#include <ctype.h>
     4051#if ((' ' & 0x0FF) == 0x020)
     4052# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4053# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4054#else
     4055# define ISLOWER(c) \
     4056                   (('a' <= (c) && (c) <= 'i') \
     4057                     || ('j' <= (c) && (c) <= 'r') \
     4058                     || ('s' <= (c) && (c) <= 'z'))
     4059# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4060#endif
     4061
     4062#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4063int
     4064main ()
     4065{
     4066  int i;
     4067  for (i = 0; i < 256; i++)
     4068    if (XOR (islower (i), ISLOWER (i))
     4069        || toupper (i) != TOUPPER (i))
     4070      exit(2);
     4071  exit (0);
     4072}
     4073_ACEOF
     4074rm -f conftest$ac_exeext
     4075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4076  (eval $ac_link) 2>&5
     4077  ac_status=$?
     4078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4079  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4080  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4081  (eval $ac_try) 2>&5
     4082  ac_status=$?
     4083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4084  (exit $ac_status); }; }; then
     4085  :
     4086else
     4087  echo "$as_me: program exited with status $ac_status" >&5
     4088echo "$as_me: failed program was:" >&5
     4089sed 's/^/| /' conftest.$ac_ext >&5
     4090
     4091( exit $ac_status )
     4092ac_cv_header_stdc=no
     4093fi
     4094rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4095fi
     4096fi
     4097fi
     4098echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4099echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4100if test $ac_cv_header_stdc = yes; then
     4101
     4102cat >>confdefs.h <<\_ACEOF
     4103#define STDC_HEADERS 1
     4104_ACEOF
     4105
     4106fi
     4107
     4108# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4109
     4110
     4111
     4112
     4113
     4114
     4115
     4116
     4117
     4118for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4119                  inttypes.h stdint.h unistd.h
     4120do
     4121as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4122echo "$as_me:$LINENO: checking for $ac_header" >&5
     4123echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4124if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4125  echo $ECHO_N "(cached) $ECHO_C" >&6
     4126else
     4127  cat >conftest.$ac_ext <<_ACEOF
     4128#line $LINENO "configure"
     4129/* confdefs.h.  */
     4130_ACEOF
     4131cat confdefs.h >>conftest.$ac_ext
     4132cat >>conftest.$ac_ext <<_ACEOF
     4133/* end confdefs.h.  */
     4134$ac_includes_default
     4135
     4136#include <$ac_header>
     4137_ACEOF
     4138rm -f conftest.$ac_objext
     4139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4140  (eval $ac_compile) 2>&5
     4141  ac_status=$?
     4142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4143  (exit $ac_status); } &&
     4144         { ac_try='test -s conftest.$ac_objext'
     4145  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4146  (eval $ac_try) 2>&5
     4147  ac_status=$?
     4148  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4149  (exit $ac_status); }; }; then
     4150  eval "$as_ac_Header=yes"
     4151else
     4152  echo "$as_me: failed program was:" >&5
     4153sed 's/^/| /' conftest.$ac_ext >&5
     4154
     4155eval "$as_ac_Header=no"
     4156fi
     4157rm -f conftest.$ac_objext conftest.$ac_ext
     4158fi
     4159echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4160echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4161if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4162  cat >>confdefs.h <<_ACEOF
     4163#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4164_ACEOF
     4165
     4166fi
     4167
     4168done
     4169
     4170
     4171
     4172for ac_header in dlfcn.h
     4173do
     4174as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4175if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4176  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4177echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4178if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4179  echo $ECHO_N "(cached) $ECHO_C" >&6
     4180fi
     4181echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4182echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4183else
     4184  # Is the header compilable?
     4185echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4186echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4187cat >conftest.$ac_ext <<_ACEOF
     4188#line $LINENO "configure"
     4189/* confdefs.h.  */
     4190_ACEOF
     4191cat confdefs.h >>conftest.$ac_ext
     4192cat >>conftest.$ac_ext <<_ACEOF
     4193/* end confdefs.h.  */
     4194$ac_includes_default
     4195#include <$ac_header>
     4196_ACEOF
     4197rm -f conftest.$ac_objext
     4198if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4199  (eval $ac_compile) 2>&5
     4200  ac_status=$?
     4201  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4202  (exit $ac_status); } &&
     4203         { ac_try='test -s conftest.$ac_objext'
     4204  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4205  (eval $ac_try) 2>&5
     4206  ac_status=$?
     4207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4208  (exit $ac_status); }; }; then
     4209  ac_header_compiler=yes
     4210else
     4211  echo "$as_me: failed program was:" >&5
     4212sed 's/^/| /' conftest.$ac_ext >&5
     4213
     4214ac_header_compiler=no
     4215fi
     4216rm -f conftest.$ac_objext conftest.$ac_ext
     4217echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4218echo "${ECHO_T}$ac_header_compiler" >&6
     4219
     4220# Is the header present?
     4221echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4222echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4223cat >conftest.$ac_ext <<_ACEOF
     4224#line $LINENO "configure"
     4225/* confdefs.h.  */
     4226_ACEOF
     4227cat confdefs.h >>conftest.$ac_ext
     4228cat >>conftest.$ac_ext <<_ACEOF
     4229/* end confdefs.h.  */
     4230#include <$ac_header>
     4231_ACEOF
     4232if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4233  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4234  ac_status=$?
     4235  grep -v '^ *+' conftest.er1 >conftest.err
     4236  rm -f conftest.er1
     4237  cat conftest.err >&5
     4238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4239  (exit $ac_status); } >/dev/null; then
     4240  if test -s conftest.err; then
     4241    ac_cpp_err=$ac_c_preproc_warn_flag
     4242  else
     4243    ac_cpp_err=
     4244  fi
     4245else
     4246  ac_cpp_err=yes
     4247fi
     4248if test -z "$ac_cpp_err"; then
     4249  ac_header_preproc=yes
     4250else
     4251  echo "$as_me: failed program was:" >&5
     4252sed 's/^/| /' conftest.$ac_ext >&5
     4253
     4254  ac_header_preproc=no
     4255fi
     4256rm -f conftest.err conftest.$ac_ext
     4257echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4258echo "${ECHO_T}$ac_header_preproc" >&6
     4259
     4260# So?  What about this header?
     4261case $ac_header_compiler:$ac_header_preproc in
     4262  yes:no )
     4263    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4264echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4265    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4266echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4267    (
     4268      cat <<\_ASBOX
     4269## ------------------------------------ ##
     4270## Report this to bug-autoconf@gnu.org. ##
     4271## ------------------------------------ ##
     4272_ASBOX
     4273    ) |
     4274      sed "s/^/$as_me: WARNING:     /" >&2
     4275    ;;
     4276  no:yes )
     4277    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4278echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4279    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4280echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4281    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4282echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4283    (
     4284      cat <<\_ASBOX
     4285## ------------------------------------ ##
     4286## Report this to bug-autoconf@gnu.org. ##
     4287## ------------------------------------ ##
     4288_ASBOX
     4289    ) |
     4290      sed "s/^/$as_me: WARNING:     /" >&2
     4291    ;;
     4292esac
     4293echo "$as_me:$LINENO: checking for $ac_header" >&5
     4294echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4295if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4296  echo $ECHO_N "(cached) $ECHO_C" >&6
     4297else
     4298  eval "$as_ac_Header=$ac_header_preproc"
     4299fi
     4300echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4301echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4302
     4303fi
     4304if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4305  cat >>confdefs.h <<_ACEOF
     4306#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4307_ACEOF
     4308
     4309fi
     4310
     4311done
     4312
     4313
     4314
     4315
     4316
     4317
     4318# Only perform the check for file, if the check method requires it
     4319case $deplibs_check_method in
     4320file_magic*)
     4321  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     4322    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
     4323echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
     4324if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     4325  echo $ECHO_N "(cached) $ECHO_C" >&6
     4326else
     4327  case $MAGIC_CMD in
     4328  /*)
     4329  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     4330  ;;
     4331  ?:/*)
     4332  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
     4333  ;;
     4334  *)
     4335  ac_save_MAGIC_CMD="$MAGIC_CMD"
     4336  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     4337  ac_dummy="/usr/bin:$PATH"
     4338  for ac_dir in $ac_dummy; do
     4339    test -z "$ac_dir" && ac_dir=.
     4340    if test -f $ac_dir/${ac_tool_prefix}file; then
     4341      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
     4342      if test -n "$file_magic_test_file"; then
     4343        case $deplibs_check_method in
     4344        "file_magic "*)
     4345          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     4346          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     4347          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     4348            egrep "$file_magic_regex" > /dev/null; then
     4349            :
     4350          else
     4351            cat <<EOF 1>&2
     4352
     4353*** Warning: the command libtool uses to detect shared libraries,
     4354*** $file_magic_cmd, produces output that libtool cannot recognize.
     4355*** The result is that libtool may fail to recognize shared libraries
     4356*** as such.  This will affect the creation of libtool libraries that
     4357*** depend on shared libraries, but programs linked with such libtool
     4358*** libraries will work regardless of this problem.  Nevertheless, you
     4359*** may want to report the problem to your system manager and/or to
     4360*** bug-libtool@gnu.org
     4361
     4362EOF
     4363          fi ;;
     4364        esac
     4365      fi
     4366      break
     4367    fi
     4368  done
     4369  IFS="$ac_save_ifs"
     4370  MAGIC_CMD="$ac_save_MAGIC_CMD"
     4371  ;;
     4372esac
     4373fi
     4374
     4375MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     4376if test -n "$MAGIC_CMD"; then
     4377  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     4378echo "${ECHO_T}$MAGIC_CMD" >&6
     4379else
     4380  echo "$as_me:$LINENO: result: no" >&5
     4381echo "${ECHO_T}no" >&6
     4382fi
     4383
     4384if test -z "$lt_cv_path_MAGIC_CMD"; then
     4385  if test -n "$ac_tool_prefix"; then
     4386    echo "$as_me:$LINENO: checking for file" >&5
     4387echo $ECHO_N "checking for file... $ECHO_C" >&6
     4388if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     4389  echo $ECHO_N "(cached) $ECHO_C" >&6
     4390else
     4391  case $MAGIC_CMD in
     4392  /*)
     4393  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     4394  ;;
     4395  ?:/*)
     4396  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
     4397  ;;
     4398  *)
     4399  ac_save_MAGIC_CMD="$MAGIC_CMD"
     4400  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     4401  ac_dummy="/usr/bin:$PATH"
     4402  for ac_dir in $ac_dummy; do
     4403    test -z "$ac_dir" && ac_dir=.
     4404    if test -f $ac_dir/file; then
     4405      lt_cv_path_MAGIC_CMD="$ac_dir/file"
     4406      if test -n "$file_magic_test_file"; then
     4407        case $deplibs_check_method in
     4408        "file_magic "*)
     4409          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     4410          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     4411          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     4412            egrep "$file_magic_regex" > /dev/null; then
     4413            :
     4414          else
     4415            cat <<EOF 1>&2
     4416
     4417*** Warning: the command libtool uses to detect shared libraries,
     4418*** $file_magic_cmd, produces output that libtool cannot recognize.
     4419*** The result is that libtool may fail to recognize shared libraries
     4420*** as such.  This will affect the creation of libtool libraries that
     4421*** depend on shared libraries, but programs linked with such libtool
     4422*** libraries will work regardless of this problem.  Nevertheless, you
     4423*** may want to report the problem to your system manager and/or to
     4424*** bug-libtool@gnu.org
     4425
     4426EOF
     4427          fi ;;
     4428        esac
     4429      fi
     4430      break
     4431    fi
     4432  done
     4433  IFS="$ac_save_ifs"
     4434  MAGIC_CMD="$ac_save_MAGIC_CMD"
     4435  ;;
     4436esac
     4437fi
     4438
     4439MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     4440if test -n "$MAGIC_CMD"; then
     4441  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     4442echo "${ECHO_T}$MAGIC_CMD" >&6
     4443else
     4444  echo "$as_me:$LINENO: result: no" >&5
     4445echo "${ECHO_T}no" >&6
     4446fi
     4447
     4448  else
     4449    MAGIC_CMD=:
     4450  fi
     4451fi
     4452
    57474453  fi
    57484454  ;;
    57494455esac
    5750 
    5751 # Sed substitution that helps us do robust quoting.  It backslashifies
    5752 # metacharacters that are still active within double-quoted strings.
    5753 Xsed='sed -e s/^X//'
    5754 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
    5755 
    5756 # Same as above, but do not quote variable references.
    5757 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
    5758 
    5759 # Sed substitution to delay expansion of an escaped shell variable in a
    5760 # double_quote_subst'ed string.
    5761 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    5762 
    5763 # Sed substitution to avoid accidental globbing in evaled expressions
    5764 no_glob_subst='s/\*/\\\*/g'
    5765 
    5766 # Constants:
    5767 rm="rm -f"
    5768 
    5769 # Global variables:
    5770 default_ofile=libtool
    5771 can_build_shared=yes
    5772 
    5773 # All known linkers require a `.a' archive for static linking (except M$VC,
    5774 # which needs '.lib').
    5775 libext=a
    5776 ltmain="$ac_aux_dir/ltmain.sh"
    5777 ofile="$default_ofile"
    5778 with_gnu_ld="$lt_cv_prog_gnu_ld"
    5779 
    5780 if test -n "$ac_tool_prefix"; then
    5781   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    5782 set dummy ${ac_tool_prefix}ar; ac_word=$2
    5783 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5785 if test "${ac_cv_prog_AR+set}" = set; then
    5786   echo $ECHO_N "(cached) $ECHO_C" >&6
    5787 else
    5788   if test -n "$AR"; then
    5789   ac_cv_prog_AR="$AR" # Let the user override the test.
    5790 else
    5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5792 for as_dir in $PATH
    5793 do
    5794   IFS=$as_save_IFS
    5795   test -z "$as_dir" && as_dir=.
    5796   for ac_exec_ext in '' $ac_executable_extensions; do
    5797   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5798     ac_cv_prog_AR="${ac_tool_prefix}ar"
    5799     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5800     break 2
    5801   fi
    5802 done
    5803 done
    5804 
    5805 fi
    5806 fi
    5807 AR=$ac_cv_prog_AR
    5808 if test -n "$AR"; then
    5809   echo "$as_me:$LINENO: result: $AR" >&5
    5810 echo "${ECHO_T}$AR" >&6
    5811 else
    5812   echo "$as_me:$LINENO: result: no" >&5
    5813 echo "${ECHO_T}no" >&6
    5814 fi
    5815 
    5816 fi
    5817 if test -z "$ac_cv_prog_AR"; then
    5818   ac_ct_AR=$AR
    5819   # Extract the first word of "ar", so it can be a program name with args.
    5820 set dummy ar; ac_word=$2
    5821 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5823 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
    5824   echo $ECHO_N "(cached) $ECHO_C" >&6
    5825 else
    5826   if test -n "$ac_ct_AR"; then
    5827   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    5828 else
    5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5830 for as_dir in $PATH
    5831 do
    5832   IFS=$as_save_IFS
    5833   test -z "$as_dir" && as_dir=.
    5834   for ac_exec_ext in '' $ac_executable_extensions; do
    5835   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5836     ac_cv_prog_ac_ct_AR="ar"
    5837     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5838     break 2
    5839   fi
    5840 done
    5841 done
    5842 
    5843   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
    5844 fi
    5845 fi
    5846 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    5847 if test -n "$ac_ct_AR"; then
    5848   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
    5849 echo "${ECHO_T}$ac_ct_AR" >&6
    5850 else
    5851   echo "$as_me:$LINENO: result: no" >&5
    5852 echo "${ECHO_T}no" >&6
    5853 fi
    5854 
    5855   AR=$ac_ct_AR
    5856 else
    5857   AR="$ac_cv_prog_AR"
    5858 fi
    58594456
    58604457if test -n "$ac_tool_prefix"; then
     
    60194616
    60204617
     4618enable_dlopen=no
     4619enable_win32_dll=no
     4620
     4621# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
     4622if test "${enable_libtool_lock+set}" = set; then
     4623  enableval="$enable_libtool_lock"
     4624
     4625fi;
     4626test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     4627
     4628# Some flags need to be propagated to the compiler or linker for good
     4629# libtool support.
     4630case $host in
     4631*-*-irix6*)
     4632  # Find out which ABI we are using.
     4633  echo '#line 4633 "configure"' > conftest.$ac_ext
     4634  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4635  (eval $ac_compile) 2>&5
     4636  ac_status=$?
     4637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4638  (exit $ac_status); }; then
     4639    case `/usr/bin/file conftest.$ac_objext` in
     4640    *32-bit*)
     4641      LD="${LD-ld} -32"
     4642      ;;
     4643    *N32*)
     4644      LD="${LD-ld} -n32"
     4645      ;;
     4646    *64-bit*)
     4647      LD="${LD-ld} -64"
     4648      ;;
     4649    esac
     4650  fi
     4651  rm -rf conftest*
     4652  ;;
     4653
     4654*-*-sco3.2v5*)
     4655  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     4656  SAVE_CFLAGS="$CFLAGS"
     4657  CFLAGS="$CFLAGS -belf"
     4658  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
     4659echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
     4660if test "${lt_cv_cc_needs_belf+set}" = set; then
     4661  echo $ECHO_N "(cached) $ECHO_C" >&6
     4662else
     4663
     4664
     4665     ac_ext=c
     4666ac_cpp='$CPP $CPPFLAGS'
     4667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4669ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4670
     4671     cat >conftest.$ac_ext <<_ACEOF
     4672#line $LINENO "configure"
     4673/* confdefs.h.  */
     4674_ACEOF
     4675cat confdefs.h >>conftest.$ac_ext
     4676cat >>conftest.$ac_ext <<_ACEOF
     4677/* end confdefs.h.  */
     4678
     4679int
     4680main ()
     4681{
     4682
     4683  ;
     4684  return 0;
     4685}
     4686_ACEOF
     4687rm -f conftest.$ac_objext conftest$ac_exeext
     4688if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4689  (eval $ac_link) 2>&5
     4690  ac_status=$?
     4691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4692  (exit $ac_status); } &&
     4693         { ac_try='test -s conftest$ac_exeext'
     4694  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4695  (eval $ac_try) 2>&5
     4696  ac_status=$?
     4697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4698  (exit $ac_status); }; }; then
     4699  lt_cv_cc_needs_belf=yes
     4700else
     4701  echo "$as_me: failed program was:" >&5
     4702sed 's/^/| /' conftest.$ac_ext >&5
     4703
     4704lt_cv_cc_needs_belf=no
     4705fi
     4706rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4707     ac_ext=c
     4708ac_cpp='$CPP $CPPFLAGS'
     4709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4711ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4712
     4713fi
     4714echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
     4715echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
     4716  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     4717    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     4718    CFLAGS="$SAVE_CFLAGS"
     4719  fi
     4720  ;;
     4721
     4722
     4723esac
     4724
     4725# Sed substitution that helps us do robust quoting.  It backslashifies
     4726# metacharacters that are still active within double-quoted strings.
     4727Xsed='sed -e s/^X//'
     4728sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
     4729
     4730# Same as above, but do not quote variable references.
     4731double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
     4732
     4733# Sed substitution to delay expansion of an escaped shell variable in a
     4734# double_quote_subst'ed string.
     4735delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     4736
     4737# Constants:
     4738rm="rm -f"
     4739
     4740# Global variables:
     4741default_ofile=libtool
     4742can_build_shared=yes
     4743
     4744# All known linkers require a `.a' archive for static linking (except M$VC,
     4745# which needs '.lib').
     4746libext=a
     4747ltmain="$ac_aux_dir/ltmain.sh"
     4748ofile="$default_ofile"
     4749with_gnu_ld="$lt_cv_prog_gnu_ld"
     4750need_locks="$enable_libtool_lock"
     4751
    60214752old_CC="$CC"
    60224753old_CFLAGS="$CFLAGS"
     
    60274758test -z "$AS" && AS=as
    60284759test -z "$CC" && CC=cc
    6029 test -z "$LTCC" && LTCC=$CC
    60304760test -z "$DLLTOOL" && DLLTOOL=dlltool
    60314761test -z "$LD" && LD=ld
     
    60334763test -z "$MAGIC_CMD" && MAGIC_CMD=file
    60344764test -z "$NM" && NM=nm
    6035 test -z "$SED" && SED=sed
    60364765test -z "$OBJDUMP" && OBJDUMP=objdump
    60374766test -z "$RANLIB" && RANLIB=:
    60384767test -z "$STRIP" && STRIP=:
    60394768test -z "$ac_objext" && ac_objext=o
     4769
     4770if test x"$host" != x"$build"; then
     4771  ac_tool_prefix=${host_alias}-
     4772else
     4773  ac_tool_prefix=
     4774fi
     4775
     4776# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
     4777case $host_os in
     4778linux-gnu*) ;;
     4779linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
     4780esac
     4781
     4782case $host_os in
     4783aix3*)
     4784  # AIX sometimes has problems with the GCC collect2 program.  For some
     4785  # reason, if we set the COLLECT_NAMES environment variable, the problems
     4786  # vanish in a puff of smoke.
     4787  if test "X${COLLECT_NAMES+set}" != Xset; then
     4788    COLLECT_NAMES=
     4789    export COLLECT_NAMES
     4790  fi
     4791  ;;
     4792esac
    60404793
    60414794# Determine commands to create old-style static archives.
     
    60564809fi
    60574810
    6058 # Only perform the check for file, if the check method requires it
    6059 case $deplibs_check_method in
    6060 file_magic*)
    6061   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    6062     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
    6063 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
    6064 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    6065   echo $ECHO_N "(cached) $ECHO_C" >&6
    6066 else
    6067   case $MAGIC_CMD in
    6068 [\\/*] |  ?:[\\/]*)
    6069   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    6070   ;;
    6071 *)
    6072   lt_save_MAGIC_CMD="$MAGIC_CMD"
    6073   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    6074   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    6075   for ac_dir in $ac_dummy; do
    6076     IFS="$lt_save_ifs"
    6077     test -z "$ac_dir" && ac_dir=.
    6078     if test -f $ac_dir/${ac_tool_prefix}file; then
    6079       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    6080       if test -n "$file_magic_test_file"; then
    6081         case $deplibs_check_method in
    6082         "file_magic "*)
    6083           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    6084           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    6085           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    6086             $EGREP "$file_magic_regex" > /dev/null; then
    6087             :
    6088           else
    6089             cat <<EOF 1>&2
    6090 
    6091 *** Warning: the command libtool uses to detect shared libraries,
    6092 *** $file_magic_cmd, produces output that libtool cannot recognize.
    6093 *** The result is that libtool may fail to recognize shared libraries
    6094 *** as such.  This will affect the creation of libtool libraries that
    6095 *** depend on shared libraries, but programs linked with such libtool
    6096 *** libraries will work regardless of this problem.  Nevertheless, you
    6097 *** may want to report the problem to your system manager and/or to
    6098 *** bug-libtool@gnu.org
    6099 
    6100 EOF
    6101           fi ;;
    6102         esac
    6103       fi
    6104       break
    6105     fi
    6106   done
    6107   IFS="$lt_save_ifs"
    6108   MAGIC_CMD="$lt_save_MAGIC_CMD"
    6109   ;;
    6110 esac
    6111 fi
    6112 
    6113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    6114 if test -n "$MAGIC_CMD"; then
    6115   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    6116 echo "${ECHO_T}$MAGIC_CMD" >&6
    6117 else
    6118   echo "$as_me:$LINENO: result: no" >&5
    6119 echo "${ECHO_T}no" >&6
    6120 fi
    6121 
    6122 if test -z "$lt_cv_path_MAGIC_CMD"; then
    6123   if test -n "$ac_tool_prefix"; then
    6124     echo "$as_me:$LINENO: checking for file" >&5
    6125 echo $ECHO_N "checking for file... $ECHO_C" >&6
    6126 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    6127   echo $ECHO_N "(cached) $ECHO_C" >&6
    6128 else
    6129   case $MAGIC_CMD in
    6130 [\\/*] |  ?:[\\/]*)
    6131   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
    6132   ;;
    6133 *)
    6134   lt_save_MAGIC_CMD="$MAGIC_CMD"
    6135   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    6136   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    6137   for ac_dir in $ac_dummy; do
    6138     IFS="$lt_save_ifs"
    6139     test -z "$ac_dir" && ac_dir=.
    6140     if test -f $ac_dir/file; then
    6141       lt_cv_path_MAGIC_CMD="$ac_dir/file"
    6142       if test -n "$file_magic_test_file"; then
    6143         case $deplibs_check_method in
    6144         "file_magic "*)
    6145           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
    6146           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    6147           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    6148             $EGREP "$file_magic_regex" > /dev/null; then
    6149             :
    6150           else
    6151             cat <<EOF 1>&2
    6152 
    6153 *** Warning: the command libtool uses to detect shared libraries,
    6154 *** $file_magic_cmd, produces output that libtool cannot recognize.
    6155 *** The result is that libtool may fail to recognize shared libraries
    6156 *** as such.  This will affect the creation of libtool libraries that
    6157 *** depend on shared libraries, but programs linked with such libtool
    6158 *** libraries will work regardless of this problem.  Nevertheless, you
    6159 *** may want to report the problem to your system manager and/or to
    6160 *** bug-libtool@gnu.org
    6161 
    6162 EOF
    6163           fi ;;
    6164         esac
    6165       fi
    6166       break
    6167     fi
    6168   done
    6169   IFS="$lt_save_ifs"
    6170   MAGIC_CMD="$lt_save_MAGIC_CMD"
    6171   ;;
    6172 esac
    6173 fi
    6174 
    6175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    6176 if test -n "$MAGIC_CMD"; then
    6177   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    6178 echo "${ECHO_T}$MAGIC_CMD" >&6
    6179 else
    6180   echo "$as_me:$LINENO: result: no" >&5
    6181 echo "${ECHO_T}no" >&6
    6182 fi
    6183 
    6184   else
    6185     MAGIC_CMD=:
    6186   fi
    6187 fi
    6188 
    6189   fi
    6190   ;;
    6191 esac
    6192 
    6193 enable_dlopen=no
    6194 enable_win32_dll=no
    6195 
    6196 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    6197 if test "${enable_libtool_lock+set}" = set; then
    6198   enableval="$enable_libtool_lock"
    6199 
    6200 fi;
    6201 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     4811# Allow CC to be a program name with arguments.
     4812set dummy $CC
     4813compiler="$2"
     4814
     4815echo "$as_me:$LINENO: checking for objdir" >&5
     4816echo $ECHO_N "checking for objdir... $ECHO_C" >&6
     4817rm -f .libs 2>/dev/null
     4818mkdir .libs 2>/dev/null
     4819if test -d .libs; then
     4820  objdir=.libs
     4821else
     4822  # MS-DOS does not allow filenames that begin with a dot.
     4823  objdir=_libs
     4824fi
     4825rmdir .libs 2>/dev/null
     4826echo "$as_me:$LINENO: result: $objdir" >&5
     4827echo "${ECHO_T}$objdir" >&6
     4828
    62024829
    62034830
     
    62114838test -z "$pic_mode" && pic_mode=default
    62124839
    6213 # Use C for the default configuration in the libtool script
    6214 tagname=
    6215 lt_save_CC="$CC"
    6216 ac_ext=c
    6217 ac_cpp='$CPP $CPPFLAGS'
    6218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6221 
    6222 
    6223 # Source file extension for C test sources.
    6224 ac_ext=c
    6225 
    6226 # Object file extension for compiled C test sources.
    6227 objext=o
    6228 objext=$objext
    6229 
    6230 # Code to be used in simple compile tests
    6231 lt_simple_compile_test_code="int some_variable = 0;\n"
    6232 
    6233 # Code to be used in simple link tests
    6234 lt_simple_link_test_code='int main(){return(0);}\n'
    6235 
    6236 
    6237 # If no C compiler was specified, use CC.
    6238 LTCC=${LTCC-"$CC"}
    6239 
    6240 # Allow CC to be a program name with arguments.
    6241 compiler=$CC
    6242 
    6243 
    6244 #
    6245 # Check for any special shared library compilation flags.
    6246 #
    6247 lt_prog_cc_shlib=
    6248 if test "$GCC" = no; then
    6249   case $host_os in
    6250   sco3.2v5*)
    6251     lt_prog_cc_shlib='-belf'
    6252     ;;
    6253   esac
    6254 fi
    6255 if test -n "$lt_prog_cc_shlib"; then
    6256   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
    6257 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
    6258   if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
    6259   else
    6260     { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
    6261 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
    6262     lt_cv_prog_cc_can_build_shared=no
    6263   fi
    6264 fi
    6265 
    6266 
    6267 #
    6268 # Check to make sure the static flag actually works.
    6269 #
    6270 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
    6271 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
    6272 if test "${lt_prog_compiler_static_works+set}" = set; then
    6273   echo $ECHO_N "(cached) $ECHO_C" >&6
    6274 else
    6275   lt_prog_compiler_static_works=no
    6276    save_LDFLAGS="$LDFLAGS"
    6277    LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
    6278    printf "$lt_simple_link_test_code" > conftest.$ac_ext
    6279    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    6280      # The compiler can only warn and ignore the option if not recognized
    6281      # So say no if there are warnings
    6282      if test -s conftest.err; then
    6283        # Append any errors to the config.log.
    6284        cat conftest.err 1>&5
    6285      else
    6286        lt_prog_compiler_static_works=yes
    6287      fi
    6288    fi
    6289    $rm conftest*
    6290    LDFLAGS="$save_LDFLAGS"
    6291 
    6292 fi
    6293 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
    6294 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
    6295 
    6296 if test x"$lt_prog_compiler_static_works" = xyes; then
    6297     :
    6298 else
    6299     lt_prog_compiler_static=
    6300 fi
    6301 
    6302 
    6303 
    6304 
    6305 lt_prog_compiler_no_builtin_flag=
    6306 
    6307 if test "$GCC" = yes; then
    6308   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
    6309 
    6310 
    6311 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    6312 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
    6313 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
    6314   echo $ECHO_N "(cached) $ECHO_C" >&6
    6315 else
    6316   lt_cv_prog_compiler_rtti_exceptions=no
    6317   ac_outfile=conftest.$ac_objext
    6318    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    6319    lt_compiler_flag="-fno-rtti -fno-exceptions"
    6320    # Insert the option either (1) after the last *FLAGS variable, or
    6321    # (2) before a word containing "conftest.", or (3) at the end.
    6322    # Note that $ac_compile itself does not contain backslashes and begins
    6323    # with a dollar sign (not a hyphen), so the echo should work correctly.
    6324    # The option is referenced via a variable to avoid confusing sed.
    6325    lt_compile=`echo "$ac_compile" | $SED \
    6326    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    6327    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    6328    -e 's:$: $lt_compiler_flag:'`
    6329    (eval echo "\"\$as_me:6329: $lt_compile\"" >&5)
    6330    (eval "$lt_compile" 2>conftest.err)
    6331    ac_status=$?
    6332    cat conftest.err >&5
    6333    echo "$as_me:6333: \$? = $ac_status" >&5
    6334    if (exit $ac_status) && test -s "$ac_outfile"; then
    6335      # The compiler can only warn and ignore the option if not recognized
    6336      # So say no if there are warnings
    6337      if test ! -s conftest.err; then
    6338        lt_cv_prog_compiler_rtti_exceptions=yes
    6339      fi
    6340    fi
    6341    $rm conftest*
    6342 
    6343 fi
    6344 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    6345 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
    6346 
    6347 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
    6348     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    6349 else
    6350     :
    6351 fi
    6352 
    6353 fi
    6354 
    6355 lt_prog_compiler_wl=
    6356 lt_prog_compiler_pic=
    6357 lt_prog_compiler_static=
    6358 
     4840# We assume here that the value for lt_cv_prog_cc_pic will not be cached
     4841# in isolation, and that seeing it set (from the cache) indicates that
     4842# the associated values are set (in the cache) correctly too.
    63594843echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    63604844echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
     4845if test "${lt_cv_prog_cc_pic+set}" = set; then
     4846  echo $ECHO_N "(cached) $ECHO_C" >&6
     4847else
     4848   lt_cv_prog_cc_pic=
     4849  lt_cv_prog_cc_shlib=
     4850  lt_cv_prog_cc_wl=
     4851  lt_cv_prog_cc_static=
     4852  lt_cv_prog_cc_no_builtin=
     4853  lt_cv_prog_cc_can_build_shared=$can_build_shared
    63614854
    63624855  if test "$GCC" = yes; then
    6363     lt_prog_compiler_wl='-Wl,'
    6364     lt_prog_compiler_static='-static'
     4856    lt_cv_prog_cc_wl='-Wl,'
     4857    lt_cv_prog_cc_static='-static'
    63654858
    63664859    case $host_os in
    6367       aix*)
    6368       # All AIX code is PIC.
    6369       if test "$host_cpu" = ia64; then
    6370         # AIX 5 now supports IA64 processor
    6371         lt_prog_compiler_static='-Bstatic'
    6372       fi
     4860    aix*)
     4861      # Below there is a dirty hack to force normal static linking with -ldl
     4862      # The problem is because libdl dynamically linked with both libc and
     4863      # libC (AIX C++ library), which obviously doesn't included in libraries
     4864      # list by gcc. This cause undefined symbols with -static flags.
     4865      # This hack allows C programs to be linked with "-static -ldl", but
     4866      # not sure about C++ programs.
     4867      lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
    63734868      ;;
    6374 
    63754869    amigaos*)
    63764870      # FIXME: we need at least 68020 code to build shared libraries, but
    63774871      # adding the `-m68020' flag to GCC prevents building anything better,
    63784872      # like `-m68040'.
    6379       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     4873      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
    63804874      ;;
    6381 
    6382     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     4875    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    63834876      # PIC is the default for these OSes.
    63844877      ;;
    6385 
    6386     mingw* | pw32* | os2*)
    6387       # This hack is so that the source file can tell whether it is being
    6388       # built for inclusion in a dll (and should export symbols for example).
    6389       lt_prog_compiler_pic='-DDLL_EXPORT'
    6390       ;;
    6391 
    63924878    darwin* | rhapsody*)
    63934879      # PIC is the default on this platform
    63944880      # Common symbols not allowed in MH_DYLIB files
    6395       lt_prog_compiler_pic='-fno-common'
     4881      lt_cv_prog_cc_pic='-fno-common'
    63964882      ;;
    6397 
    6398     msdosdjgpp*)
    6399       # Just because we use GCC doesn't mean we suddenly get shared libraries
    6400       # on systems that don't support them.
    6401       lt_prog_compiler_can_build_shared=no
    6402       enable_shared=no
     4883    cygwin* | mingw* | pw32* | os2*)
     4884      # This hack is so that the source file can tell whether it is being
     4885      # built for inclusion in a dll (and should export symbols for example).
     4886      lt_cv_prog_cc_pic='-DDLL_EXPORT'
    64034887      ;;
    6404 
    64054888    sysv4*MP*)
    64064889      if test -d /usr/nec; then
    6407         lt_prog_compiler_pic=-Kconform_pic
     4890         lt_cv_prog_cc_pic=-Kconform_pic
    64084891      fi
    64094892      ;;
    6410 
    6411     hpux*)
    6412       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    6413       # not for PA HP-UX.
    6414       case "$host_cpu" in
    6415       hppa*64*|ia64*)
    6416         # +Z the default
    6417         ;;
    6418       *)
    6419         lt_prog_compiler_pic='-fPIC'
    6420         ;;
    6421       esac
    6422       ;;
    6423 
    64244893    *)
    6425       lt_prog_compiler_pic='-fPIC'
     4894      lt_cv_prog_cc_pic='-fPIC'
    64264895      ;;
    64274896    esac
    64284897  else
    6429     # PORTME Check for flag to pass linker flags through the system compiler.
     4898    # PORTME Check for PIC flags for the system compiler.
    64304899    case $host_os in
    6431     aix*)
    6432       lt_prog_compiler_wl='-Wl,'
     4900    aix3* | aix4* | aix5*)
     4901      lt_cv_prog_cc_wl='-Wl,'
     4902      # All AIX code is PIC.
    64334903      if test "$host_cpu" = ia64; then
    64344904        # AIX 5 now supports IA64 processor
    6435         lt_prog_compiler_static='-Bstatic'
     4905        lt_cv_prog_cc_static='-Bstatic'
    64364906      else
    6437         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     4907        lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
    64384908      fi
    64394909      ;;
    64404910
    6441     mingw* | pw32* | os2*)
     4911    hpux9* | hpux10* | hpux11*)
     4912      # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
     4913      lt_cv_prog_cc_wl='-Wl,'
     4914      lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
     4915      lt_cv_prog_cc_pic='+Z'
     4916      ;;
     4917
     4918    irix5* | irix6* | nonstopux*)
     4919      lt_cv_prog_cc_wl='-Wl,'
     4920      lt_cv_prog_cc_static='-non_shared'
     4921      # PIC (with -KPIC) is the default.
     4922      ;;
     4923
     4924    cygwin* | mingw* | pw32* | os2*)
    64424925      # This hack is so that the source file can tell whether it is being
    64434926      # built for inclusion in a dll (and should export symbols for example).
    6444       lt_prog_compiler_pic='-DDLL_EXPORT'
     4927      lt_cv_prog_cc_pic='-DDLL_EXPORT'
    64454928      ;;
    64464929
    6447     hpux9* | hpux10* | hpux11*)
    6448       lt_prog_compiler_wl='-Wl,'
    6449       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    6450       # not for PA HP-UX.
    6451       case "$host_cpu" in
    6452       hppa*64*|ia64*)
    6453         # +Z the default
    6454         ;;
    6455       *)
    6456         lt_prog_compiler_pic='+Z'
    6457         ;;
    6458       esac
    6459       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    6460       lt_prog_compiler_static='${wl}-a ${wl}archive'
     4930    newsos6)
     4931      lt_cv_prog_cc_pic='-KPIC'
     4932      lt_cv_prog_cc_static='-Bstatic'
    64614933      ;;
    64624934
    6463     irix5* | irix6* | nonstopux*)
    6464       lt_prog_compiler_wl='-Wl,'
    6465       # PIC (with -KPIC) is the default.
    6466       lt_prog_compiler_static='-non_shared'
     4935    osf3* | osf4* | osf5*)
     4936      # All OSF/1 code is PIC.
     4937      lt_cv_prog_cc_wl='-Wl,'
     4938      lt_cv_prog_cc_static='-non_shared'
    64674939      ;;
    64684940
    6469     newsos6)
    6470       lt_prog_compiler_pic='-KPIC'
    6471       lt_prog_compiler_static='-Bstatic'
     4941    sco3.2v5*)
     4942      lt_cv_prog_cc_pic='-Kpic'
     4943      lt_cv_prog_cc_static='-dn'
     4944      lt_cv_prog_cc_shlib='-belf'
    64724945      ;;
    64734946
    6474     linux*)
    6475       case $CC in
    6476       icc* | ecc*)
    6477         lt_prog_compiler_wl='-Wl,'
    6478         lt_prog_compiler_pic='-KPIC'
    6479         lt_prog_compiler_static='-static'
    6480         ;;
    6481       ccc*)
    6482         lt_prog_compiler_wl='-Wl,'
    6483         # All Alpha code is PIC.
    6484         lt_prog_compiler_static='-non_shared'
    6485         ;;
    6486       esac
     4947    solaris*)
     4948      lt_cv_prog_cc_pic='-KPIC'
     4949      lt_cv_prog_cc_static='-Bstatic'
     4950      lt_cv_prog_cc_wl='-Wl,'
    64874951      ;;
    64884952
    6489     osf3* | osf4* | osf5*)
    6490       lt_prog_compiler_wl='-Wl,'
    6491       # All OSF/1 code is PIC.
    6492       lt_prog_compiler_static='-non_shared'
     4953    sunos4*)
     4954      lt_cv_prog_cc_pic='-PIC'
     4955      lt_cv_prog_cc_static='-Bstatic'
     4956      lt_cv_prog_cc_wl='-Qoption ld '
    64934957      ;;
    64944958
    6495     sco3.2v5*)
    6496       lt_prog_compiler_pic='-Kpic'
    6497       lt_prog_compiler_static='-dn'
     4959    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     4960      lt_cv_prog_cc_pic='-KPIC'
     4961      lt_cv_prog_cc_static='-Bstatic'
     4962      lt_cv_prog_cc_wl='-Wl,'
    64984963      ;;
    64994964
    6500     solaris*)
    6501       lt_prog_compiler_wl='-Wl,'
    6502       lt_prog_compiler_pic='-KPIC'
    6503       lt_prog_compiler_static='-Bstatic'
    6504       ;;
    6505 
    6506     sunos4*)
    6507       lt_prog_compiler_wl='-Qoption ld '
    6508       lt_prog_compiler_pic='-PIC'
    6509       lt_prog_compiler_static='-Bstatic'
    6510       ;;
    6511 
    6512     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    6513       lt_prog_compiler_wl='-Wl,'
    6514       lt_prog_compiler_pic='-KPIC'
    6515       lt_prog_compiler_static='-Bstatic'
     4965    uts4*)
     4966      lt_cv_prog_cc_pic='-pic'
     4967      lt_cv_prog_cc_static='-Bstatic'
    65164968      ;;
    65174969
    65184970    sysv4*MP*)
    65194971      if test -d /usr/nec ;then
    6520         lt_prog_compiler_pic='-Kconform_pic'
    6521         lt_prog_compiler_static='-Bstatic'
     4972        lt_cv_prog_cc_pic='-Kconform_pic'
     4973        lt_cv_prog_cc_static='-Bstatic'
    65224974      fi
    65234975      ;;
    65244976
    6525     uts4*)
    6526       lt_prog_compiler_pic='-pic'
    6527       lt_prog_compiler_static='-Bstatic'
    6528       ;;
    6529 
    65304977    *)
    6531       lt_prog_compiler_can_build_shared=no
     4978      lt_cv_prog_cc_can_build_shared=no
    65324979      ;;
    65334980    esac
    65344981  fi
    65354982
    6536 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
    6537 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
    6538 
    6539 #
    6540 # Check to make sure the PIC flag actually works.
    6541 #
    6542 if test -n "$lt_prog_compiler_pic"; then
    6543 
    6544 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    6545 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
    6546 if test "${lt_prog_compiler_pic_works+set}" = set; then
     4983fi
     4984
     4985if test -z "$lt_cv_prog_cc_pic"; then
     4986  echo "$as_me:$LINENO: result: none" >&5
     4987echo "${ECHO_T}none" >&6
     4988else
     4989  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
     4990echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
     4991
     4992  # Check to make sure the pic_flag actually works.
     4993  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
     4994echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
     4995  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
    65474996  echo $ECHO_N "(cached) $ECHO_C" >&6
    65484997else
    6549   lt_prog_compiler_pic_works=no
    6550   ac_outfile=conftest.$ac_objext
    6551    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    6552    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
    6553    # Insert the option either (1) after the last *FLAGS variable, or
    6554    # (2) before a word containing "conftest.", or (3) at the end.
    6555    # Note that $ac_compile itself does not contain backslashes and begins
    6556    # with a dollar sign (not a hyphen), so the echo should work correctly.
    6557    # The option is referenced via a variable to avoid confusing sed.
    6558    lt_compile=`echo "$ac_compile" | $SED \
    6559    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    6560    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    6561    -e 's:$: $lt_compiler_flag:'`
    6562    (eval echo "\"\$as_me:6562: $lt_compile\"" >&5)
    6563    (eval "$lt_compile" 2>conftest.err)
    6564    ac_status=$?
    6565    cat conftest.err >&5
    6566    echo "$as_me:6566: \$? = $ac_status" >&5
    6567    if (exit $ac_status) && test -s "$ac_outfile"; then
    6568      # The compiler can only warn and ignore the option if not recognized
    6569      # So say no if there are warnings
    6570      if test ! -s conftest.err; then
    6571        lt_prog_compiler_pic_works=yes
    6572      fi
    6573    fi
    6574    $rm conftest*
    6575 
    6576 fi
    6577 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
    6578 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
    6579 
    6580 if test x"$lt_prog_compiler_pic_works" = xyes; then
    6581     case $lt_prog_compiler_pic in
    6582      "" | " "*) ;;
    6583      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
    6584      esac
    6585 else
    6586     lt_prog_compiler_pic=
    6587      lt_prog_compiler_can_build_shared=no
    6588 fi
    6589 
    6590 fi
    6591 case "$host_os" in
    6592   # For platforms which do not support PIC, -DPIC is meaningless:
    6593   *djgpp*)
    6594     lt_prog_compiler_pic=
    6595     ;;
    6596   *)
    6597     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
    6598     ;;
    6599 esac
    6600 
     4998      save_CFLAGS="$CFLAGS"
     4999    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
     5000    cat >conftest.$ac_ext <<_ACEOF
     5001#line $LINENO "configure"
     5002/* confdefs.h.  */
     5003_ACEOF
     5004cat confdefs.h >>conftest.$ac_ext
     5005cat >>conftest.$ac_ext <<_ACEOF
     5006/* end confdefs.h.  */
     5007
     5008int
     5009main ()
     5010{
     5011
     5012  ;
     5013  return 0;
     5014}
     5015_ACEOF
     5016rm -f conftest.$ac_objext
     5017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5018  (eval $ac_compile) 2>&5
     5019  ac_status=$?
     5020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5021  (exit $ac_status); } &&
     5022         { ac_try='test -s conftest.$ac_objext'
     5023  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5024  (eval $ac_try) 2>&5
     5025  ac_status=$?
     5026  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5027  (exit $ac_status); }; }; then
     5028        case $host_os in
     5029      hpux9* | hpux10* | hpux11*)
     5030        # On HP-UX, both CC and GCC only warn that PIC is supported... then
     5031        # they create non-PIC objects.  So, if there were any warnings, we
     5032        # assume that PIC is not supported.
     5033        if test -s conftest.err; then
     5034          lt_cv_prog_cc_pic_works=no
     5035        else
     5036          lt_cv_prog_cc_pic_works=yes
     5037        fi
     5038        ;;
     5039      *)
     5040        lt_cv_prog_cc_pic_works=yes
     5041        ;;
     5042      esac
     5043
     5044else
     5045  echo "$as_me: failed program was:" >&5
     5046sed 's/^/| /' conftest.$ac_ext >&5
     5047
     5048      lt_cv_prog_cc_pic_works=no
     5049
     5050fi
     5051rm -f conftest.$ac_objext conftest.$ac_ext
     5052    CFLAGS="$save_CFLAGS"
     5053
     5054fi
     5055
     5056
     5057  if test "X$lt_cv_prog_cc_pic_works" = Xno; then
     5058    lt_cv_prog_cc_pic=
     5059    lt_cv_prog_cc_can_build_shared=no
     5060  else
     5061    lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
     5062  fi
     5063
     5064  echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
     5065echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
     5066fi
     5067
     5068# Check for any special shared library compilation flags.
     5069if test -n "$lt_cv_prog_cc_shlib"; then
     5070  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
     5071echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
     5072  if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :
     5073  else
     5074   { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
     5075echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
     5076    lt_cv_prog_cc_can_build_shared=no
     5077  fi
     5078fi
     5079
     5080echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
     5081echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
     5082if test "${lt_cv_prog_cc_static_works+set}" = set; then
     5083  echo $ECHO_N "(cached) $ECHO_C" >&6
     5084else
     5085    lt_cv_prog_cc_static_works=no
     5086  save_LDFLAGS="$LDFLAGS"
     5087  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
     5088  cat >conftest.$ac_ext <<_ACEOF
     5089#line $LINENO "configure"
     5090/* confdefs.h.  */
     5091_ACEOF
     5092cat confdefs.h >>conftest.$ac_ext
     5093cat >>conftest.$ac_ext <<_ACEOF
     5094/* end confdefs.h.  */
     5095
     5096int
     5097main ()
     5098{
     5099
     5100  ;
     5101  return 0;
     5102}
     5103_ACEOF
     5104rm -f conftest.$ac_objext conftest$ac_exeext
     5105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5106  (eval $ac_link) 2>&5
     5107  ac_status=$?
     5108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5109  (exit $ac_status); } &&
     5110         { ac_try='test -s conftest$ac_exeext'
     5111  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5112  (eval $ac_try) 2>&5
     5113  ac_status=$?
     5114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5115  (exit $ac_status); }; }; then
     5116  lt_cv_prog_cc_static_works=yes
     5117else
     5118  echo "$as_me: failed program was:" >&5
     5119sed 's/^/| /' conftest.$ac_ext >&5
     5120
     5121fi
     5122rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     5123  LDFLAGS="$save_LDFLAGS"
     5124
     5125fi
     5126
     5127
     5128# Belt *and* braces to stop my trousers falling down:
     5129test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
     5130echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
     5131echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
     5132
     5133pic_flag="$lt_cv_prog_cc_pic"
     5134special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
     5135wl="$lt_cv_prog_cc_wl"
     5136link_static_flag="$lt_cv_prog_cc_static"
     5137no_builtin_flag="$lt_cv_prog_cc_no_builtin"
     5138can_build_shared="$lt_cv_prog_cc_can_build_shared"
     5139
     5140
     5141# Check to see if options -o and -c are simultaneously supported by compiler
    66015142echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    66025143echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    6603 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
     5144if test "${lt_cv_compiler_c_o+set}" = set; then
    66045145  echo $ECHO_N "(cached) $ECHO_C" >&6
    66055146else
    6606   lt_cv_prog_compiler_c_o=no
    6607    $rm -r conftest 2>/dev/null
    6608    mkdir conftest
    6609    cd conftest
    6610    mkdir out
    6611    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    6612 
    6613    lt_compiler_flag="-o out/conftest2.$ac_objext"
    6614    # Insert the option either (1) after the last *FLAGS variable, or
    6615    # (2) before a word containing "conftest.", or (3) at the end.
    6616    # Note that $ac_compile itself does not contain backslashes and begins
    6617    # with a dollar sign (not a hyphen), so the echo should work correctly.
    6618    lt_compile=`echo "$ac_compile" | $SED \
    6619    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    6620    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    6621    -e 's:$: $lt_compiler_flag:'`
    6622    (eval echo "\"\$as_me:6622: $lt_compile\"" >&5)
    6623    (eval "$lt_compile" 2>out/conftest.err)
    6624    ac_status=$?
    6625    cat out/conftest.err >&5
    6626    echo "$as_me:6626: \$? = $ac_status" >&5
    6627    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    6628    then
    6629      # The compiler can only warn and ignore the option if not recognized
    6630      # So say no if there are warnings
    6631      if test ! -s out/conftest.err; then
    6632        lt_cv_prog_compiler_c_o=yes
    6633      fi
    6634    fi
    6635    chmod u+w .
    6636    $rm conftest*
    6637    # SGI C++ compiler will create directory out/ii_files/ for
    6638    # template instantiation
    6639    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    6640    $rm out/* && rmdir out
    6641    cd ..
    6642    rmdir conftest
    6643    $rm conftest*
    6644 
    6645 fi
    6646 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
    6647 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
    6648 
    6649 
     5147
     5148$rm -r conftest 2>/dev/null
     5149mkdir conftest
     5150cd conftest
     5151echo "int some_variable = 0;" > conftest.$ac_ext
     5152mkdir out
     5153# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
     5154# that will create temporary files in the current directory regardless of
     5155# the output directory.  Thus, making CWD read-only will cause this test
     5156# to fail, enabling locking or at least warning the user not to do parallel
     5157# builds.
     5158chmod -w .
     5159save_CFLAGS="$CFLAGS"
     5160CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
     5161compiler_c_o=no
     5162if { (eval echo configure:5162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
     5163  # The compiler can only warn and ignore the option if not recognized
     5164  # So say no if there are warnings
     5165  if test -s out/conftest.err; then
     5166    lt_cv_compiler_c_o=no
     5167  else
     5168    lt_cv_compiler_c_o=yes
     5169  fi
     5170else
     5171  # Append any errors to the config.log.
     5172  cat out/conftest.err 1>&5
     5173  lt_cv_compiler_c_o=no
     5174fi
     5175CFLAGS="$save_CFLAGS"
     5176chmod u+w .
     5177$rm conftest* out/*
     5178rmdir out
     5179cd ..
     5180rmdir conftest
     5181$rm -r conftest 2>/dev/null
     5182
     5183fi
     5184
     5185compiler_c_o=$lt_cv_compiler_c_o
     5186echo "$as_me:$LINENO: result: $compiler_c_o" >&5
     5187echo "${ECHO_T}$compiler_c_o" >&6
     5188
     5189if test x"$compiler_c_o" = x"yes"; then
     5190  # Check to see if we can write to a .lo
     5191  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
     5192echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
     5193  if test "${lt_cv_compiler_o_lo+set}" = set; then
     5194  echo $ECHO_N "(cached) $ECHO_C" >&6
     5195else
     5196
     5197  lt_cv_compiler_o_lo=no
     5198  save_CFLAGS="$CFLAGS"
     5199  CFLAGS="$CFLAGS -c -o conftest.lo"
     5200  save_objext="$ac_objext"
     5201  ac_objext=lo
     5202  cat >conftest.$ac_ext <<_ACEOF
     5203#line $LINENO "configure"
     5204/* confdefs.h.  */
     5205_ACEOF
     5206cat confdefs.h >>conftest.$ac_ext
     5207cat >>conftest.$ac_ext <<_ACEOF
     5208/* end confdefs.h.  */
     5209
     5210int
     5211main ()
     5212{
     5213int some_variable = 0;
     5214  ;
     5215  return 0;
     5216}
     5217_ACEOF
     5218rm -f conftest.$ac_objext
     5219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5220  (eval $ac_compile) 2>&5
     5221  ac_status=$?
     5222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5223  (exit $ac_status); } &&
     5224         { ac_try='test -s conftest.$ac_objext'
     5225  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5226  (eval $ac_try) 2>&5
     5227  ac_status=$?
     5228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5229  (exit $ac_status); }; }; then
     5230      # The compiler can only warn and ignore the option if not recognized
     5231    # So say no if there are warnings
     5232    if test -s conftest.err; then
     5233      lt_cv_compiler_o_lo=no
     5234    else
     5235      lt_cv_compiler_o_lo=yes
     5236    fi
     5237
     5238else
     5239  echo "$as_me: failed program was:" >&5
     5240sed 's/^/| /' conftest.$ac_ext >&5
     5241
     5242fi
     5243rm -f conftest.$ac_objext conftest.$ac_ext
     5244  ac_objext="$save_objext"
     5245  CFLAGS="$save_CFLAGS"
     5246
     5247fi
     5248
     5249  compiler_o_lo=$lt_cv_compiler_o_lo
     5250  echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
     5251echo "${ECHO_T}$compiler_o_lo" >&6
     5252else
     5253  compiler_o_lo=no
     5254fi
     5255
     5256# Check to see if we can do hard links to lock some files if needed
    66505257hard_links="nottested"
    6651 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
     5258if test "$compiler_c_o" = no && test "$need_locks" != no; then
    66525259  # do not overwrite the value of need_locks provided by the user
    66535260  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
     
    66705277fi
    66715278
    6672 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    6673 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    6674 
    6675   runpath_var=
    6676   allow_undefined_flag=
    6677   enable_shared_with_static_runtimes=no
    6678   archive_cmds=
    6679   archive_expsym_cmds=
    6680   old_archive_From_new_cmds=
    6681   old_archive_from_expsyms_cmds=
    6682   export_dynamic_flag_spec=
    6683   whole_archive_flag_spec=
    6684   thread_safe_flag_spec=
    6685   hardcode_libdir_flag_spec=
    6686   hardcode_libdir_flag_spec_ld=
    6687   hardcode_libdir_separator=
    6688   hardcode_direct=no
    6689   hardcode_minus_L=no
    6690   hardcode_shlibpath_var=unsupported
    6691   link_all_deplibs=unknown
    6692   hardcode_automatic=no
    6693   module_cmds=
    6694   module_expsym_cmds=
    6695   always_export_symbols=no
    6696   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    6697   # include_expsyms should be a list of space-separated symbols to be *always*
    6698   # included in the symbol list
    6699   include_expsyms=
    6700   # exclude_expsyms can be an extended regexp of symbols to exclude
    6701   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    6702   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    6703   # as well as any symbol that contains `d'.
    6704   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
    6705   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    6706   # platforms (ab)use it in PIC code, but their linkers get confused if
    6707   # the symbol is explicitly referenced.  Since portable code cannot
    6708   # rely on this symbol name, it's probably fine to never include it in
    6709   # preloaded symbol tables.
    6710   extract_expsyms_cmds=
    6711 
     5279if test "$GCC" = yes; then
     5280  # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
     5281  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     5282echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
     5283  echo "int some_variable = 0;" > conftest.$ac_ext
     5284  save_CFLAGS="$CFLAGS"
     5285  CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
     5286  compiler_rtti_exceptions=no
     5287  cat >conftest.$ac_ext <<_ACEOF
     5288#line $LINENO "configure"
     5289/* confdefs.h.  */
     5290_ACEOF
     5291cat confdefs.h >>conftest.$ac_ext
     5292cat >>conftest.$ac_ext <<_ACEOF
     5293/* end confdefs.h.  */
     5294
     5295int
     5296main ()
     5297{
     5298int some_variable = 0;
     5299  ;
     5300  return 0;
     5301}
     5302_ACEOF
     5303rm -f conftest.$ac_objext
     5304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5305  (eval $ac_compile) 2>&5
     5306  ac_status=$?
     5307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5308  (exit $ac_status); } &&
     5309         { ac_try='test -s conftest.$ac_objext'
     5310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5311  (eval $ac_try) 2>&5
     5312  ac_status=$?
     5313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5314  (exit $ac_status); }; }; then
     5315      # The compiler can only warn and ignore the option if not recognized
     5316    # So say no if there are warnings
     5317    if test -s conftest.err; then
     5318      compiler_rtti_exceptions=no
     5319    else
     5320      compiler_rtti_exceptions=yes
     5321    fi
     5322
     5323else
     5324  echo "$as_me: failed program was:" >&5
     5325sed 's/^/| /' conftest.$ac_ext >&5
     5326
     5327fi
     5328rm -f conftest.$ac_objext conftest.$ac_ext
     5329  CFLAGS="$save_CFLAGS"
     5330  echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
     5331echo "${ECHO_T}$compiler_rtti_exceptions" >&6
     5332
     5333  if test "$compiler_rtti_exceptions" = "yes"; then
     5334    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
     5335  else
     5336    no_builtin_flag=' -fno-builtin'
     5337  fi
     5338fi
     5339
     5340# See if the linker supports building shared libraries.
     5341echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
     5342echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
     5343
     5344allow_undefined_flag=
     5345no_undefined_flag=
     5346need_lib_prefix=unknown
     5347need_version=unknown
     5348# when you set need_version to no, make sure it does not cause -set_version
     5349# flags to be left without arguments
     5350archive_cmds=
     5351archive_expsym_cmds=
     5352old_archive_from_new_cmds=
     5353old_archive_from_expsyms_cmds=
     5354export_dynamic_flag_spec=
     5355whole_archive_flag_spec=
     5356thread_safe_flag_spec=
     5357hardcode_into_libs=no
     5358hardcode_libdir_flag_spec=
     5359hardcode_libdir_separator=
     5360hardcode_direct=no
     5361hardcode_minus_L=no
     5362hardcode_shlibpath_var=unsupported
     5363runpath_var=
     5364link_all_deplibs=unknown
     5365always_export_symbols=no
     5366export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
     5367# include_expsyms should be a list of space-separated symbols to be *always*
     5368# included in the symbol list
     5369include_expsyms=
     5370# exclude_expsyms can be an egrep regular expression of symbols to exclude
     5371# it will be wrapped by ` (' and `)$', so one must not match beginning or
     5372# end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     5373# as well as any symbol that contains `d'.
     5374exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
     5375# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     5376# platforms (ab)use it in PIC code, but their linkers get confused if
     5377# the symbol is explicitly referenced.  Since portable code cannot
     5378# rely on this symbol name, it's probably fine to never include it in
     5379# preloaded symbol tables.
     5380extract_expsyms_cmds=
     5381
     5382case $host_os in
     5383cygwin* | mingw* | pw32*)
     5384  # FIXME: the MSVC++ port hasn't been tested in a loooong time
     5385  # When not using gcc, we currently assume that we are using
     5386  # Microsoft Visual C++.
     5387  if test "$GCC" != yes; then
     5388    with_gnu_ld=no
     5389  fi
     5390  ;;
     5391openbsd*)
     5392  with_gnu_ld=no
     5393  ;;
     5394esac
     5395
     5396ld_shlibs=yes
     5397if test "$with_gnu_ld" = yes; then
     5398  # If archive_cmds runs LD, not CC, wlarc should be empty
     5399  wlarc='${wl}'
     5400
     5401  # See if GNU ld supports shared libraries.
    67125402  case $host_os in
    6713   cygwin* | mingw* | pw32*)
    6714     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    6715     # When not using gcc, we currently assume that we are using
    6716     # Microsoft Visual C++.
    6717     if test "$GCC" != yes; then
    6718       with_gnu_ld=no
    6719     fi
    6720     ;;
    6721   openbsd*)
    6722     with_gnu_ld=no
    6723     ;;
    6724   esac
    6725 
    6726   ld_shlibs=yes
    6727   if test "$with_gnu_ld" = yes; then
    6728     # If archive_cmds runs LD, not CC, wlarc should be empty
    6729     wlarc='${wl}'
    6730 
    6731     # See if GNU ld supports shared libraries.
    6732     case $host_os in
    6733     aix3* | aix4* | aix5*)
    6734       # On AIX/PPC, the GNU linker is very broken
    6735       if test "$host_cpu" != ia64; then
    6736         ld_shlibs=no
    6737         cat <<EOF 1>&2
     5403  aix3* | aix4* | aix5*)
     5404    # On AIX, the GNU linker is very broken
     5405    # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
     5406    ld_shlibs=no
     5407    cat <<EOF 1>&2
    67385408
    67395409*** Warning: the GNU linker, at least up to release 2.9.1, is reported
     
    67445414
    67455415EOF
    6746       fi
     5416    ;;
     5417
     5418  amigaos*)
     5419    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
     5420    hardcode_libdir_flag_spec='-L$libdir'
     5421    hardcode_minus_L=yes
     5422
     5423    # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
     5424    # that the semantics of dynamic libraries on AmigaOS, at least up
     5425    # to version 4, is to share data among multiple programs linked
     5426    # with the same dynamic library.  Since this doesn't match the
     5427    # behavior of shared libraries on other platforms, we can use
     5428    # them.
     5429    ld_shlibs=no
     5430    ;;
     5431
     5432  beos*)
     5433    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
     5434      allow_undefined_flag=unsupported
     5435      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     5436      # support --undefined.  This deserves some investigation.  FIXME
     5437      archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5438    else
     5439      ld_shlibs=no
     5440    fi
     5441    ;;
     5442
     5443  cygwin* | mingw* | pw32*)
     5444    # hardcode_libdir_flag_spec is actually meaningless, as there is
     5445    # no search path for DLLs.
     5446    hardcode_libdir_flag_spec='-L$libdir'
     5447    allow_undefined_flag=unsupported
     5448    always_export_symbols=yes
     5449
     5450    extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
     5451      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
     5452      test -f $output_objdir/impgen.exe || (cd $output_objdir && \
     5453      if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
     5454      else $CC -o impgen impgen.c ; fi)~
     5455      $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
     5456
     5457    old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
     5458
     5459    # cygwin and mingw dlls have different entry points and sets of symbols
     5460    # to exclude.
     5461    # FIXME: what about values for MSVC?
     5462    dll_entry=__cygwin_dll_entry@12
     5463    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
     5464    case $host_os in
     5465    mingw*)
     5466      # mingw values
     5467      dll_entry=_DllMainCRTStartup@12
     5468      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
    67475469      ;;
    6748 
    6749     amigaos*)
    6750       archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
    6751       hardcode_libdir_flag_spec='-L$libdir'
    6752       hardcode_minus_L=yes
    6753 
    6754       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    6755       # that the semantics of dynamic libraries on AmigaOS, at least up
    6756       # to version 4, is to share data among multiple programs linked
    6757       # with the same dynamic library.  Since this doesn't match the
    6758       # behavior of shared libraries on other platforms, we can't use
    6759       # them.
     5470    esac
     5471
     5472    # mingw and cygwin differ, and it's simplest to just exclude the union
     5473    # of the two symbol sets.
     5474    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
     5475
     5476    # recent cygwin and mingw systems supply a stub DllMain which the user
     5477    # can override, but on older systems we have to supply one (in ltdll.c)
     5478    if test "x$lt_cv_need_dllmain" = "xyes"; then
     5479      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
     5480      ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
     5481        test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
     5482    else
     5483      ltdll_obj=
     5484      ltdll_cmds=
     5485    fi
     5486
     5487    # Extract the symbol export list from an `--export-all' def file,
     5488    # then regenerate the def file from the symbol export list, so that
     5489    # the compiled dll only exports the symbol export list.
     5490    # Be careful not to strip the DATA tag left be newer dlltools.
     5491    export_symbols_cmds="$ltdll_cmds"'
     5492      $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
     5493      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
     5494
     5495    # If the export-symbols file already is a .def file (1st line
     5496    # is EXPORTS), use it as is.
     5497    # If DATA tags from a recent dlltool are present, honour them!
     5498    archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
     5499        cp $export_symbols $output_objdir/$soname-def;
     5500      else
     5501        echo EXPORTS > $output_objdir/$soname-def;
     5502        _lt_hint=1;
     5503        cat $export_symbols | while read symbol; do
     5504         set dummy \$symbol;
     5505         case \$# in
     5506           2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
     5507           4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
     5508           *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
     5509         esac;
     5510         _lt_hint=`expr 1 + \$_lt_hint`;
     5511        done;
     5512      fi~
     5513      '"$ltdll_cmds"'
     5514      $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
     5515      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
     5516      $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
     5517      $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
     5518      $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
     5519    ;;
     5520
     5521  netbsd*)
     5522    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     5523      archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     5524      wlarc=
     5525    else
     5526      archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5527      archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5528    fi
     5529    ;;
     5530
     5531  solaris* | sysv5*)
     5532    if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
    67605533      ld_shlibs=no
    6761       ;;
    6762 
    6763     beos*)
    6764       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    6765         allow_undefined_flag=unsupported
    6766         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    6767         # support --undefined.  This deserves some investigation.  FIXME
    6768         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6769       else
    6770         ld_shlibs=no
    6771       fi
    6772       ;;
    6773 
    6774     cygwin* | mingw* | pw32*)
    6775       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
    6776       # as there is no search path for DLLs.
    6777       hardcode_libdir_flag_spec='-L$libdir'
    6778       allow_undefined_flag=unsupported
    6779       always_export_symbols=no
    6780       enable_shared_with_static_runtimes=yes
    6781       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    6782 
    6783       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    6784         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    6785         # If the export-symbols file already is a .def file (1st line
    6786         # is EXPORTS), use it as is; otherwise, prepend...
    6787         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    6788           cp $export_symbols $output_objdir/$soname.def;
    6789         else
    6790           echo EXPORTS > $output_objdir/$soname.def;
    6791           cat $export_symbols >> $output_objdir/$soname.def;
    6792         fi~
    6793         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
    6794       else
    6795         ld_shlibs=no
    6796       fi
    6797       ;;
    6798 
    6799     netbsd*)
    6800       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    6801         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    6802         wlarc=
    6803       else
    6804         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6805         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    6806       fi
    6807       ;;
    6808 
    6809     solaris* | sysv5*)
    6810       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
    6811         ld_shlibs=no
    6812         cat <<EOF 1>&2
     5534      cat <<EOF 1>&2
    68135535
    68145536*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     
    68205542
    68215543EOF
    6822       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    6823         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6824         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    6825       else
    6826         ld_shlibs=no
    6827       fi
    6828       ;;
    6829 
    6830     sunos4*)
    6831       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    6832       wlarc=
    6833       hardcode_direct=yes
    6834       hardcode_shlibpath_var=no
    6835       ;;
    6836 
    6837   linux*)
    6838     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    6839         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6840         archive_cmds="$tmp_archive_cmds"
    6841       supports_anon_versioning=no
    6842       case `$LD -v 2>/dev/null` in
    6843         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    6844         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    6845         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    6846         *\ 2.11.*) ;; # other 2.11 versions
    6847         *) supports_anon_versioning=yes ;;
    6848       esac
    6849       if test $supports_anon_versioning = yes; then
    6850         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
    6851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    6852 $echo "local: *; };" >> $output_objdir/$libname.ver~
    6853         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    6854       else
    6855         archive_expsym_cmds="$tmp_archive_cmds"
    6856       fi
     5544    elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
     5545      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5546      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    68575547    else
    68585548      ld_shlibs=no
     
    68605550    ;;
    68615551
     5552  sunos4*)
     5553    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     5554    wlarc=
     5555    hardcode_direct=yes
     5556    hardcode_shlibpath_var=no
     5557    ;;
     5558
     5559  *)
     5560    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
     5561      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5562      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5563    else
     5564      ld_shlibs=no
     5565    fi
     5566    ;;
     5567  esac
     5568
     5569  if test "$ld_shlibs" = yes; then
     5570    runpath_var=LD_RUN_PATH
     5571    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
     5572    export_dynamic_flag_spec='${wl}--export-dynamic'
     5573    case $host_os in
     5574    cygwin* | mingw* | pw32*)
     5575      # dlltool doesn't understand --whole-archive et. al.
     5576      whole_archive_flag_spec=
     5577      ;;
    68625578    *)
    6863       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    6864         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6865         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5579      # ancient GNU ld didn't support --whole-archive et. al.
     5580      if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
     5581        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    68665582      else
    6867         ld_shlibs=no
     5583        whole_archive_flag_spec=
    68685584      fi
    68695585      ;;
    68705586    esac
    6871 
    6872     if test "$ld_shlibs" = yes; then
    6873       runpath_var=LD_RUN_PATH
    6874       hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
    6875       export_dynamic_flag_spec='${wl}--export-dynamic'
    6876       # ancient GNU ld didn't support --whole-archive et. al.
    6877       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
    6878         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     5587  fi
     5588else
     5589  # PORTME fill in a description of your system's linker (not GNU ld)
     5590  case $host_os in
     5591  aix3*)
     5592    allow_undefined_flag=unsupported
     5593    always_export_symbols=yes
     5594    archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
     5595    # Note: this linker hardcodes the directories in LIBPATH if there
     5596    # are no directories specified by -L.
     5597    hardcode_minus_L=yes
     5598    if test "$GCC" = yes && test -z "$link_static_flag"; then
     5599      # Neither direct hardcoding nor static linking is supported with a
     5600      # broken collect2.
     5601      hardcode_direct=unsupported
     5602    fi
     5603    ;;
     5604
     5605  aix4* | aix5*)
     5606    if test "$host_cpu" = ia64; then
     5607      # On IA64, the linker does run time linking by default, so we don't
     5608      # have to do anything special.
     5609      aix_use_runtimelinking=no
     5610      exp_sym_flag='-Bexport'
     5611      no_entry_flag=""
     5612    else
     5613      aix_use_runtimelinking=no
     5614
     5615      # Test if we are trying to use run time linking or normal
     5616      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     5617      # need to do runtime linking.
     5618      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
     5619        for ld_flag in $LDFLAGS; do
     5620          case $ld_flag in
     5621          *-brtl*)
     5622            aix_use_runtimelinking=yes
     5623            break
     5624          ;;
     5625          esac
     5626        done
     5627      esac
     5628
     5629      exp_sym_flag='-bexport'
     5630      no_entry_flag='-bnoentry'
     5631    fi
     5632
     5633    # When large executables or shared objects are built, AIX ld can
     5634    # have problems creating the table of contents.  If linking a library
     5635    # or program results in "error TOC overflow" add -mminimal-toc to
     5636    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     5637    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     5638
     5639    hardcode_direct=yes
     5640    archive_cmds=''
     5641    hardcode_libdir_separator=':'
     5642    if test "$GCC" = yes; then
     5643      case $host_os in aix4.[012]|aix4.[012].*)
     5644        collect2name=`${CC} -print-prog-name=collect2`
     5645        if test -f "$collect2name" && \
     5646          strings "$collect2name" | grep resolve_lib_name >/dev/null
     5647        then
     5648          # We have reworked collect2
     5649          hardcode_direct=yes
     5650        else
     5651          # We have old collect2
     5652          hardcode_direct=unsupported
     5653          # It fails to find uninstalled libraries when the uninstalled
     5654          # path is not listed in the libpath.  Setting hardcode_minus_L
     5655          # to unsupported forces relinking
     5656          hardcode_minus_L=yes
     5657          hardcode_libdir_flag_spec='-L$libdir'
     5658          hardcode_libdir_separator=
     5659        fi
     5660      esac
     5661
     5662      shared_flag='-shared'
     5663    else
     5664      # not using gcc
     5665      if test "$host_cpu" = ia64; then
     5666        shared_flag='${wl}-G'
    68795667      else
    6880         whole_archive_flag_spec=
     5668        if test "$aix_use_runtimelinking" = yes; then
     5669          shared_flag='${wl}-G'
     5670        else
     5671          shared_flag='${wl}-bM:SRE'
     5672        fi
    68815673      fi
    68825674    fi
    6883   else
    6884     # PORTME fill in a description of your system's linker (not GNU ld)
     5675
     5676    # It seems that -bexpall can do strange things, so it is better to
     5677    # generate a list of symbols to export.
     5678    always_export_symbols=yes
     5679    if test "$aix_use_runtimelinking" = yes; then
     5680      # Warning - without using the other runtime loading flags (-brtl),
     5681      # -berok will link without error, but may produce a broken library.
     5682      allow_undefined_flag='-berok'
     5683      hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
     5684      archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
     5685    else
     5686      if test "$host_cpu" = ia64; then
     5687        hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
     5688        allow_undefined_flag="-z nodefs"
     5689        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
     5690      else
     5691        hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
     5692        # Warning - without using the other run time loading flags,
     5693        # -berok will link without error, but may produce a broken library.
     5694        allow_undefined_flag='${wl}-berok'
     5695        # This is a bit strange, but is similar to how AIX traditionally builds
     5696        # it's shared libraries.
     5697        archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
     5698      fi
     5699    fi
     5700    ;;
     5701
     5702  amigaos*)
     5703    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
     5704    hardcode_libdir_flag_spec='-L$libdir'
     5705    hardcode_minus_L=yes
     5706    # see comment about different semantics on the GNU ld section
     5707    ld_shlibs=no
     5708    ;;
     5709
     5710  cygwin* | mingw* | pw32*)
     5711    # When not using gcc, we currently assume that we are using
     5712    # Microsoft Visual C++.
     5713    # hardcode_libdir_flag_spec is actually meaningless, as there is
     5714    # no search path for DLLs.
     5715    hardcode_libdir_flag_spec=' '
     5716    allow_undefined_flag=unsupported
     5717    # Tell ltmain to make .lib files, not .a files.
     5718    libext=lib
     5719    # FIXME: Setting linknames here is a bad hack.
     5720    archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
     5721    # The linker will automatically build a .lib file if we build a DLL.
     5722    old_archive_from_new_cmds='true'
     5723    # FIXME: Should let the user specify the lib program.
     5724    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
     5725    fix_srcfile_path='`cygpath -w "$srcfile"`'
     5726    ;;
     5727
     5728  darwin* | rhapsody*)
     5729    case "$host_os" in
     5730    rhapsody* | darwin1.[012])
     5731      allow_undefined_flag='-undefined suppress'
     5732      ;;
     5733    *) # Darwin 1.3 on
     5734      allow_undefined_flag='-flat_namespace -undefined suppress'
     5735      ;;
     5736    esac
     5737    # FIXME: Relying on posixy $() will cause problems for
     5738    #        cross-compilation, but unfortunately the echo tests do not
     5739    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
     5740    #        `"' quotes if we put them in here... so don't!
     5741    archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
     5742    # We need to add '_' to the symbols in $export_symbols first
     5743    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     5744    hardcode_direct=yes
     5745    hardcode_shlibpath_var=no
     5746    whole_archive_flag_spec='-all_load $convenience'
     5747    ;;
     5748
     5749  freebsd1*)
     5750    ld_shlibs=no
     5751    ;;
     5752
     5753  # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     5754  # support.  Future versions do this automatically, but an explicit c++rt0.o
     5755  # does not break anything, and helps significantly (at the cost of a little
     5756  # extra space).
     5757  freebsd2.2*)
     5758    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
     5759    hardcode_libdir_flag_spec='-R$libdir'
     5760    hardcode_direct=yes
     5761    hardcode_shlibpath_var=no
     5762    ;;
     5763
     5764  # Unfortunately, older versions of FreeBSD 2 do not have this feature.
     5765  freebsd2*)
     5766    archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     5767    hardcode_direct=yes
     5768    hardcode_minus_L=yes
     5769    hardcode_shlibpath_var=no
     5770    ;;
     5771
     5772  # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     5773  freebsd*)
     5774    archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
     5775    hardcode_libdir_flag_spec='-R$libdir'
     5776    hardcode_direct=yes
     5777    hardcode_shlibpath_var=no
     5778    ;;
     5779
     5780  hpux9* | hpux10* | hpux11*)
    68855781    case $host_os in
    6886     aix3*)
    6887       allow_undefined_flag=unsupported
    6888       always_export_symbols=yes
    6889       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
    6890       # Note: this linker hardcodes the directories in LIBPATH if there
    6891       # are no directories specified by -L.
    6892       hardcode_minus_L=yes
    6893       if test "$GCC" = yes && test -z "$link_static_flag"; then
    6894         # Neither direct hardcoding nor static linking is supported with a
    6895         # broken collect2.
    6896         hardcode_direct=unsupported
    6897       fi
    6898       ;;
    6899 
    6900     aix4* | aix5*)
    6901       if test "$host_cpu" = ia64; then
    6902         # On IA64, the linker does run time linking by default, so we don't
    6903         # have to do anything special.
    6904         aix_use_runtimelinking=no
    6905         exp_sym_flag='-Bexport'
    6906         no_entry_flag=""
    6907       else
    6908         # If we're using GNU nm, then we don't want the "-C" option.
    6909         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    6910         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    6911           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    6912         else
    6913           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    6914         fi
    6915         aix_use_runtimelinking=no
    6916 
    6917         # Test if we are trying to use run time linking or normal
    6918         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    6919         # need to do runtime linking.
    6920         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
    6921           for ld_flag in $LDFLAGS; do
    6922           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    6923             aix_use_runtimelinking=yes
    6924             break
    6925           fi
    6926           done
    6927         esac
    6928 
    6929         exp_sym_flag='-bexport'
    6930         no_entry_flag='-bnoentry'
    6931       fi
    6932 
    6933       # When large executables or shared objects are built, AIX ld can
    6934       # have problems creating the table of contents.  If linking a library
    6935       # or program results in "error TOC overflow" add -mminimal-toc to
    6936       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    6937       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    6938 
    6939       archive_cmds=''
    6940       hardcode_direct=yes
    6941       hardcode_libdir_separator=':'
    6942       link_all_deplibs=yes
    6943 
    6944       if test "$GCC" = yes; then
    6945         case $host_os in aix4.012|aix4.012.*)
    6946         # We only want to do this on AIX 4.2 and lower, the check
    6947         # below for broken collect2 doesn't work under 4.3+
    6948           collect2name=`${CC} -print-prog-name=collect2`
    6949           if test -f "$collect2name" && \
    6950            strings "$collect2name" | grep resolve_lib_name >/dev/null
    6951           then
    6952           # We have reworked collect2
    6953           hardcode_direct=yes
    6954           else
    6955           # We have old collect2
    6956           hardcode_direct=unsupported
    6957           # It fails to find uninstalled libraries when the uninstalled
    6958           # path is not listed in the libpath.  Setting hardcode_minus_L
    6959           # to unsupported forces relinking
    6960           hardcode_minus_L=yes
    6961           hardcode_libdir_flag_spec='-L$libdir'
    6962           hardcode_libdir_separator=
    6963           fi
    6964         esac
    6965         shared_flag='-shared'
    6966       else
    6967         # not using gcc
    6968         if test "$host_cpu" = ia64; then
    6969         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    6970         # chokes on -Wl,-G. The following line is correct:
    6971           shared_flag='-G'
    6972         else
    6973         if test "$aix_use_runtimelinking" = yes; then
    6974             shared_flag='${wl}-G'
    6975           else
    6976             shared_flag='${wl}-bM:SRE'
    6977         fi
    6978         fi
    6979       fi
    6980 
    6981       # It seems that -bexpall does not export symbols beginning with
    6982       # underscore (_), so it is better to generate a list of symbols to export.
    6983       always_export_symbols=yes
    6984       if test "$aix_use_runtimelinking" = yes; then
    6985         # Warning - without using the other runtime loading flags (-brtl),
    6986         # -berok will link without error, but may produce a broken library.
    6987         allow_undefined_flag='-berok'
    6988        # Determine the default libpath from the value encoded in an empty executable.
    6989        cat >conftest.$ac_ext <<_ACEOF
    6990 /* confdefs.h.  */
    6991 _ACEOF
    6992 cat confdefs.h >>conftest.$ac_ext
    6993 cat >>conftest.$ac_ext <<_ACEOF
    6994 /* end confdefs.h.  */
    6995 
    6996 int
    6997 main ()
    6998 {
    6999 
    7000   ;
    7001   return 0;
    7002 }
    7003 _ACEOF
    7004 rm -f conftest.$ac_objext conftest$ac_exeext
    7005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7006   (eval $ac_link) 2>conftest.er1
    7007   ac_status=$?
    7008   grep -v '^ *+' conftest.er1 >conftest.err
    7009   rm -f conftest.er1
    7010   cat conftest.err >&5
    7011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7012   (exit $ac_status); } &&
    7013          { ac_try='test -z "$ac_c_werror_flag"
    7014                          || test ! -s conftest.err'
    7015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7016   (eval $ac_try) 2>&5
    7017   ac_status=$?
    7018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7019   (exit $ac_status); }; } &&
    7020          { ac_try='test -s conftest$ac_exeext'
    7021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7022   (eval $ac_try) 2>&5
    7023   ac_status=$?
    7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7025   (exit $ac_status); }; }; then
    7026 
    7027 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    7028 }'`
    7029 # Check for a 64-bit object if we didn't find anything.
    7030 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; }
    7031 }'`; fi
    7032 else
    7033   echo "$as_me: failed program was:" >&5
    7034 sed 's/^/| /' conftest.$ac_ext >&5
    7035 
    7036 fi
    7037 rm -f conftest.err conftest.$ac_objext \
    7038       conftest$ac_exeext conftest.$ac_ext
    7039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    7040 
    7041        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
    7042         archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    7043        else
    7044         if test "$host_cpu" = ia64; then
    7045           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
    7046           allow_undefined_flag="-z nodefs"
    7047           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
    7048         else
    7049          # Determine the default libpath from the value encoded in an empty executable.
    7050          cat >conftest.$ac_ext <<_ACEOF
    7051 /* confdefs.h.  */
    7052 _ACEOF
    7053 cat confdefs.h >>conftest.$ac_ext
    7054 cat >>conftest.$ac_ext <<_ACEOF
    7055 /* end confdefs.h.  */
    7056 
    7057 int
    7058 main ()
    7059 {
    7060 
    7061   ;
    7062   return 0;
    7063 }
    7064 _ACEOF
    7065 rm -f conftest.$ac_objext conftest$ac_exeext
    7066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7067   (eval $ac_link) 2>conftest.er1
    7068   ac_status=$?
    7069   grep -v '^ *+' conftest.er1 >conftest.err
    7070   rm -f conftest.er1
    7071   cat conftest.err >&5
    7072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7073   (exit $ac_status); } &&
    7074          { ac_try='test -z "$ac_c_werror_flag"
    7075                          || test ! -s conftest.err'
    7076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7077   (eval $ac_try) 2>&5
    7078   ac_status=$?
    7079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7080   (exit $ac_status); }; } &&
    7081          { ac_try='test -s conftest$ac_exeext'
    7082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7083   (eval $ac_try) 2>&5
    7084   ac_status=$?
    7085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7086   (exit $ac_status); }; }; then
    7087 
    7088 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    7089 }'`
    7090 # Check for a 64-bit object if we didn't find anything.
    7091 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; }
    7092 }'`; fi
    7093 else
    7094   echo "$as_me: failed program was:" >&5
    7095 sed 's/^/| /' conftest.$ac_ext >&5
    7096 
    7097 fi
    7098 rm -f conftest.err conftest.$ac_objext \
    7099       conftest$ac_exeext conftest.$ac_ext
    7100 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    7101 
    7102          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
    7103           # Warning - without using the other run time loading flags,
    7104           # -berok will link without error, but may produce a broken library.
    7105           no_undefined_flag=' ${wl}-bernotok'
    7106           allow_undefined_flag=' ${wl}-berok'
    7107           # -bexpall does not export symbols beginning with underscore (_)
    7108           always_export_symbols=yes
    7109           # Exported symbols can be pulled into shared objects from archives
    7110           whole_archive_flag_spec=' '
    7111           archive_cmds_need_lc=yes
    7112           # This is similar to how AIX traditionally builds it's shared libraries.
    7113           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    7114         fi
    7115       fi
    7116       ;;
    7117 
    7118     amigaos*)
    7119       archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
    7120       hardcode_libdir_flag_spec='-L$libdir'
    7121       hardcode_minus_L=yes
    7122       # see comment about different semantics on the GNU ld section
    7123       ld_shlibs=no
    7124       ;;
    7125 
    7126     bsdi4*)
    7127       export_dynamic_flag_spec=-rdynamic
    7128       ;;
    7129 
    7130     cygwin* | mingw* | pw32*)
    7131       # When not using gcc, we currently assume that we are using
    7132       # Microsoft Visual C++.
    7133       # hardcode_libdir_flag_spec is actually meaningless, as there is
    7134       # no search path for DLLs.
    7135       hardcode_libdir_flag_spec=' '
    7136       allow_undefined_flag=unsupported
    7137       # Tell ltmain to make .lib files, not .a files.
    7138       libext=lib
    7139       # Tell ltmain to make .dll files, not .so files.
    7140       shrext_cmds=".dll"
    7141       # FIXME: Setting linknames here is a bad hack.
    7142       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
    7143       # The linker will automatically build a .lib file if we build a DLL.
    7144       old_archive_From_new_cmds='true'
    7145       # FIXME: Should let the user specify the lib program.
    7146       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
    7147       fix_srcfile_path='`cygpath -w "$srcfile"`'
    7148       enable_shared_with_static_runtimes=yes
    7149       ;;
    7150 
    7151     darwin* | rhapsody*)
    7152     if test "$GXX" = yes ; then
    7153       archive_cmds_need_lc=no
     5782    hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
     5783    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
     5784    esac
     5785    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     5786    hardcode_libdir_separator=:
     5787    hardcode_direct=yes
     5788    hardcode_minus_L=yes # Not in the search PATH, but as the default
     5789                         # location of the library.
     5790    export_dynamic_flag_spec='${wl}-E'
     5791    ;;
     5792
     5793  irix5* | irix6* | nonstopux*)
     5794    if test "$GCC" = yes; then
     5795      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     5796      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5797    else
     5798      archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
     5799      hardcode_libdir_flag_spec='-rpath $libdir'
     5800    fi
     5801    hardcode_libdir_separator=:
     5802    link_all_deplibs=yes
     5803    ;;
     5804
     5805  netbsd*)
     5806    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     5807      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
     5808    else
     5809      archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
     5810    fi
     5811    hardcode_libdir_flag_spec='-R$libdir'
     5812    hardcode_direct=yes
     5813    hardcode_shlibpath_var=no
     5814    ;;
     5815
     5816  newsos6)
     5817    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5818    hardcode_direct=yes
     5819    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5820    hardcode_libdir_separator=:
     5821    hardcode_shlibpath_var=no
     5822    ;;
     5823
     5824  openbsd*)
     5825    hardcode_direct=yes
     5826    hardcode_shlibpath_var=no
     5827    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     5828      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5829      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     5830      export_dynamic_flag_spec='${wl}-E'
     5831    else
    71545832      case "$host_os" in
    7155       rhapsody* | darwin1.[012])
    7156         allow_undefined_flag='-undefined suppress'
    7157         ;;
    7158       *) # Darwin 1.3 on
    7159       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    7160         allow_undefined_flag='-flat_namespace -undefined suppress'
    7161       else
    7162         case ${MACOSX_DEPLOYMENT_TARGET} in
    7163           10.[012])
    7164             allow_undefined_flag='-flat_namespace -undefined suppress'
    7165             ;;
    7166           10.*)
    7167             allow_undefined_flag='-undefined dynamic_lookup'
    7168             ;;
    7169         esac
    7170       fi
     5833      openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
     5834        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     5835        hardcode_libdir_flag_spec='-R$libdir'
     5836        ;;
     5837      *)
     5838        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5839        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
     5840        ;;
     5841      esac
     5842    fi
     5843    ;;
     5844
     5845  os2*)
     5846    hardcode_libdir_flag_spec='-L$libdir'
     5847    hardcode_minus_L=yes
     5848    allow_undefined_flag=unsupported
     5849    archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
     5850    old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     5851    ;;
     5852
     5853  osf3*)
     5854    if test "$GCC" = yes; then
     5855      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
     5856      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     5857    else
     5858      allow_undefined_flag=' -expect_unresolved \*'
     5859      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
     5860    fi
     5861    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5862    hardcode_libdir_separator=:
     5863    ;;
     5864
     5865  osf4* | osf5*)        # as osf3* with the addition of -msym flag
     5866    if test "$GCC" = yes; then
     5867      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
     5868      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     5869      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     5870    else
     5871      allow_undefined_flag=' -expect_unresolved \*'
     5872      archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
     5873      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
     5874      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
     5875
     5876      #Both c and cxx compiler support -rpath directly
     5877      hardcode_libdir_flag_spec='-rpath $libdir'
     5878    fi
     5879    hardcode_libdir_separator=:
     5880    ;;
     5881
     5882  sco3.2v5*)
     5883    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5884    hardcode_shlibpath_var=no
     5885    runpath_var=LD_RUN_PATH
     5886    hardcode_runpath_var=yes
     5887    export_dynamic_flag_spec='${wl}-Bexport'
     5888    ;;
     5889
     5890  solaris*)
     5891    # gcc --version < 3.0 without binutils cannot create self contained
     5892    # shared libraries reliably, requiring libgcc.a to resolve some of
     5893    # the object symbols generated in some cases.  Libraries that use
     5894    # assert need libgcc.a to resolve __eprintf, for example.  Linking
     5895    # a copy of libgcc.a into every shared library to guarantee resolving
     5896    # such symbols causes other problems:  According to Tim Van Holder
     5897    # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
     5898    # (to the application) exception stack for one thing.
     5899    no_undefined_flag=' -z defs'
     5900    if test "$GCC" = yes; then
     5901      case `$CC --version 2>/dev/null` in
     5902      [12].*)
     5903        cat <<EOF 1>&2
     5904
     5905*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
     5906*** create self contained shared libraries on Solaris systems, without
     5907*** introducing a dependency on libgcc.a.  Therefore, libtool is disabling
     5908*** -no-undefined support, which will at least allow you to build shared
     5909*** libraries.  However, you may find that when you link such libraries
     5910*** into an application without using GCC, you have to manually add
     5911*** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to
     5912*** upgrade to a newer version of GCC.  Another option is to rebuild your
     5913*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
     5914
     5915EOF
     5916        no_undefined_flag=
    71715917        ;;
    71725918      esac
    7173         lt_int_apple_cc_single_mod=no
    7174         output_verbose_link_cmd='echo'
    7175         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
    7176           lt_int_apple_cc_single_mod=yes
    7177         fi
    7178         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    7179           archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    7180         else
    7181         archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    7182       fi
    7183       module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    7184       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    7185         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    7186           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    7187         else
    7188           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    7189         fi
    7190           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    7191       hardcode_direct=no
    7192       hardcode_automatic=yes
    7193       hardcode_shlibpath_var=unsupported
    7194       whole_archive_flag_spec='-all_load $convenience'
    7195       link_all_deplibs=yes
     5919    fi
     5920    # $CC -shared without GNU ld will not create a library from C++
     5921    # object files and a static libstdc++, better avoid it by now
     5922    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5923    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
     5924                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
     5925    hardcode_libdir_flag_spec='-R$libdir'
     5926    hardcode_shlibpath_var=no
     5927    case $host_os in
     5928    solaris2.[0-5] | solaris2.[0-5].*) ;;
     5929    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
     5930      whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
     5931    esac
     5932    link_all_deplibs=yes
     5933    ;;
     5934
     5935  sunos4*)
     5936    if test "x$host_vendor" = xsequent; then
     5937      # Use $CC to link under sequent, because it throws in some extra .o
     5938      # files that make .init and .fini sections work.
     5939      archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    71965940    else
    7197       ld_shlibs=no
     5941      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    71985942    fi
    7199       ;;
    7200 
    7201     dgux*)
    7202       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7203       hardcode_libdir_flag_spec='-L$libdir'
    7204       hardcode_shlibpath_var=no
    7205       ;;
    7206 
    7207     freebsd1*)
    7208       ld_shlibs=no
    7209       ;;
    7210 
    7211     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    7212     # support.  Future versions do this automatically, but an explicit c++rt0.o
    7213     # does not break anything, and helps significantly (at the cost of a little
    7214     # extra space).
    7215     freebsd2.2*)
    7216       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    7217       hardcode_libdir_flag_spec='-R$libdir'
    7218       hardcode_direct=yes
    7219       hardcode_shlibpath_var=no
    7220       ;;
    7221 
    7222     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    7223     freebsd2*)
    7224       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    7225       hardcode_direct=yes
    7226       hardcode_minus_L=yes
    7227       hardcode_shlibpath_var=no
    7228       ;;
    7229 
    7230     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    7231     freebsd* | kfreebsd*-gnu)
    7232       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    7233       hardcode_libdir_flag_spec='-R$libdir'
    7234       hardcode_direct=yes
    7235       hardcode_shlibpath_var=no
    7236       ;;
    7237 
    7238     hpux9*)
    7239       if test "$GCC" = yes; then
    7240         archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    7241       else
    7242         archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    7243       fi
    7244       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    7245       hardcode_libdir_separator=:
    7246       hardcode_direct=yes
    7247 
    7248       # hardcode_minus_L: Not really in the search PATH,
    7249       # but as the default location of the library.
    7250       hardcode_minus_L=yes
    7251       export_dynamic_flag_spec='${wl}-E'
    7252       ;;
    7253 
    7254     hpux10* | hpux11*)
    7255       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    7256         case "$host_cpu" in
    7257         hppa*64*|ia64*)
    7258           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    7259           ;;
    7260         *)
    7261           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    7262           ;;
    7263         esac
    7264       else
    7265         case "$host_cpu" in
    7266         hppa*64*|ia64*)
    7267           archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
    7268           ;;
    7269         *)
    7270           archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    7271           ;;
    7272         esac
    7273       fi
    7274       if test "$with_gnu_ld" = no; then
    7275         case "$host_cpu" in
    7276         hppa*64*)
    7277           hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    7278           hardcode_libdir_flag_spec_ld='+b $libdir'
    7279           hardcode_libdir_separator=:
    7280           hardcode_direct=no
    7281           hardcode_shlibpath_var=no
    7282           ;;
    7283         ia64*)
    7284           hardcode_libdir_flag_spec='-L$libdir'
    7285           hardcode_direct=no
    7286           hardcode_shlibpath_var=no
    7287 
    7288           # hardcode_minus_L: Not really in the search PATH,
    7289           # but as the default location of the library.
    7290           hardcode_minus_L=yes
    7291           ;;
    7292         *)
    7293           hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    7294           hardcode_libdir_separator=:
    7295           hardcode_direct=yes
    7296           export_dynamic_flag_spec='${wl}-E'
    7297 
    7298           # hardcode_minus_L: Not really in the search PATH,
    7299           # but as the default location of the library.
    7300           hardcode_minus_L=yes
    7301           ;;
    7302         esac
    7303       fi
    7304       ;;
    7305 
    7306     irix5* | irix6* | nonstopux*)
    7307       if test "$GCC" = yes; then
    7308         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    7309       else
    7310         archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    7311         hardcode_libdir_flag_spec_ld='-rpath $libdir'
    7312       fi
    7313       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    7314       hardcode_libdir_separator=:
    7315       link_all_deplibs=yes
    7316       ;;
    7317 
    7318     netbsd*)
    7319       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    7320         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    7321       else
    7322         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    7323       fi
    7324       hardcode_libdir_flag_spec='-R$libdir'
    7325       hardcode_direct=yes
    7326       hardcode_shlibpath_var=no
    7327       ;;
    7328 
    7329     newsos6)
    7330       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7331       hardcode_direct=yes
    7332       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    7333       hardcode_libdir_separator=:
    7334       hardcode_shlibpath_var=no
    7335       ;;
    7336 
    7337     openbsd*)
    7338       hardcode_direct=yes
    7339       hardcode_shlibpath_var=no
    7340       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    7341         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    7342         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    7343         export_dynamic_flag_spec='${wl}-E'
    7344       else
    7345        case $host_os in
    7346          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    7347            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    7348            hardcode_libdir_flag_spec='-R$libdir'
    7349            ;;
    7350          *)
    7351            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    7352            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    7353            ;;
    7354        esac
    7355       fi
    7356       ;;
    7357 
    7358     os2*)
    7359       hardcode_libdir_flag_spec='-L$libdir'
    7360       hardcode_minus_L=yes
    7361       allow_undefined_flag=unsupported
    7362       archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
    7363       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    7364       ;;
    7365 
    7366     osf3*)
    7367       if test "$GCC" = yes; then
    7368         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    7369         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    7370       else
    7371         allow_undefined_flag=' -expect_unresolved \*'
    7372         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    7373       fi
    7374       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    7375       hardcode_libdir_separator=:
    7376       ;;
    7377 
    7378     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    7379       if test "$GCC" = yes; then
    7380         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    7381         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    7382         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    7383       else
    7384         allow_undefined_flag=' -expect_unresolved \*'
    7385         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    7386         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    7387         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
    7388 
    7389         # Both c and cxx compiler support -rpath directly
    7390         hardcode_libdir_flag_spec='-rpath $libdir'
    7391       fi
    7392       hardcode_libdir_separator=:
    7393       ;;
    7394 
    7395     sco3.2v5*)
     5943    hardcode_libdir_flag_spec='-L$libdir'
     5944    hardcode_direct=yes
     5945    hardcode_minus_L=yes
     5946    hardcode_shlibpath_var=no
     5947    ;;
     5948
     5949  sysv4)
     5950    case $host_vendor in
     5951      sni)
     5952        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5953        hardcode_direct=yes # is this really true???
     5954        ;;
     5955      siemens)
     5956        ## LD is ld it makes a PLAMLIB
     5957        ## CC just makes a GrossModule.
     5958        archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
     5959        reload_cmds='$CC -r -o $output$reload_objs'
     5960        hardcode_direct=no
     5961        ;;
     5962      motorola)
     5963        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5964        hardcode_direct=no #Motorola manual says yes, but my tests say they lie
     5965        ;;
     5966    esac
     5967    runpath_var='LD_RUN_PATH'
     5968    hardcode_shlibpath_var=no
     5969    ;;
     5970
     5971  sysv4.3*)
     5972    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5973    hardcode_shlibpath_var=no
     5974    export_dynamic_flag_spec='-Bexport'
     5975    ;;
     5976
     5977  sysv5*)
     5978    no_undefined_flag=' -z text'
     5979    # $CC -shared without GNU ld will not create a library from C++
     5980    # object files and a static libstdc++, better avoid it by now
     5981    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5982    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
     5983                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
     5984    hardcode_libdir_flag_spec=
     5985    hardcode_shlibpath_var=no
     5986    runpath_var='LD_RUN_PATH'
     5987    ;;
     5988
     5989  uts4*)
     5990    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5991    hardcode_libdir_flag_spec='-L$libdir'
     5992    hardcode_shlibpath_var=no
     5993    ;;
     5994
     5995  dgux*)
     5996    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5997    hardcode_libdir_flag_spec='-L$libdir'
     5998    hardcode_shlibpath_var=no
     5999    ;;
     6000
     6001  sysv4*MP*)
     6002    if test -d /usr/nec; then
    73966003      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    73976004      hardcode_shlibpath_var=no
    7398       export_dynamic_flag_spec='${wl}-Bexport'
    73996005      runpath_var=LD_RUN_PATH
    74006006      hardcode_runpath_var=yes
    7401       ;;
    7402 
    7403     solaris*)
    7404       no_undefined_flag=' -z text'
    7405       if test "$GCC" = yes; then
    7406         archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    7407         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    7408           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
    7409       else
    7410         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7411         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    7412         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    7413       fi
    7414       hardcode_libdir_flag_spec='-R$libdir'
    7415       hardcode_shlibpath_var=no
    7416       case $host_os in
    7417       solaris2.[0-5] | solaris2.[0-5].*) ;;
    7418       *) # Supported since Solaris 2.6 (maybe 2.5.1?)
    7419         whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
    7420       esac
    7421       link_all_deplibs=yes
    7422       ;;
    7423 
    7424     sunos4*)
    7425       if test "x$host_vendor" = xsequent; then
    7426         # Use $CC to link under sequent, because it throws in some extra .o
    7427         # files that make .init and .fini sections work.
    7428         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    7429       else
    7430         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    7431       fi
    7432       hardcode_libdir_flag_spec='-L$libdir'
    7433       hardcode_direct=yes
    7434       hardcode_minus_L=yes
    7435       hardcode_shlibpath_var=no
    7436       ;;
    7437 
    7438     sysv4)
    7439       case $host_vendor in
    7440         sni)
    7441           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7442           hardcode_direct=yes # is this really true???
    7443         ;;
    7444         siemens)
    7445           ## LD is ld it makes a PLAMLIB
    7446           ## CC just makes a GrossModule.
    7447           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    7448           reload_cmds='$CC -r -o $output$reload_objs'
    7449           hardcode_direct=no
    7450         ;;
    7451         motorola)
    7452           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7453           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
    7454         ;;
    7455       esac
    7456       runpath_var='LD_RUN_PATH'
    7457       hardcode_shlibpath_var=no
    7458       ;;
    7459 
    7460     sysv4.3*)
    7461       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7462       hardcode_shlibpath_var=no
    7463       export_dynamic_flag_spec='-Bexport'
    7464       ;;
    7465 
    7466     sysv4*MP*)
    7467       if test -d /usr/nec; then
    7468         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7469         hardcode_shlibpath_var=no
    7470         runpath_var=LD_RUN_PATH
    7471         hardcode_runpath_var=yes
    7472         ld_shlibs=yes
    7473       fi
    7474       ;;
    7475 
    7476     sysv4.2uw2*)
    7477       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    7478       hardcode_direct=yes
    7479       hardcode_minus_L=no
    7480       hardcode_shlibpath_var=no
    7481       hardcode_runpath_var=yes
    7482       runpath_var=LD_RUN_PATH
    7483       ;;
    7484 
    7485    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
    7486       no_undefined_flag='${wl}-z ${wl}text'
    7487       if test "$GCC" = yes; then
    7488         archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    7489       else
    7490         archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    7491       fi
    7492       runpath_var='LD_RUN_PATH'
    7493       hardcode_shlibpath_var=no
    7494       ;;
    7495 
    7496     sysv5*)
    7497       no_undefined_flag=' -z text'
    7498       # $CC -shared without GNU ld will not create a library from C++
    7499       # object files and a static libstdc++, better avoid it by now
    7500       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7501       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    7502                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    7503       hardcode_libdir_flag_spec=
    7504       hardcode_shlibpath_var=no
    7505       runpath_var='LD_RUN_PATH'
    7506       ;;
    7507 
    7508     uts4*)
    7509       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    7510       hardcode_libdir_flag_spec='-L$libdir'
    7511       hardcode_shlibpath_var=no
    7512       ;;
    7513 
    7514     *)
    7515       ld_shlibs=no
    7516       ;;
    7517     esac
    7518   fi
    7519 
     6007      ld_shlibs=yes
     6008    fi
     6009    ;;
     6010
     6011  sysv4.2uw2*)
     6012    archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
     6013    hardcode_direct=yes
     6014    hardcode_minus_L=no
     6015    hardcode_shlibpath_var=no
     6016    hardcode_runpath_var=yes
     6017    runpath_var=LD_RUN_PATH
     6018    ;;
     6019
     6020  sysv5uw7* | unixware7*)
     6021    no_undefined_flag='${wl}-z ${wl}text'
     6022    if test "$GCC" = yes; then
     6023      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     6024    else
     6025      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     6026    fi
     6027    runpath_var='LD_RUN_PATH'
     6028    hardcode_shlibpath_var=no
     6029    ;;
     6030
     6031  *)
     6032    ld_shlibs=no
     6033    ;;
     6034  esac
     6035fi
    75206036echo "$as_me:$LINENO: result: $ld_shlibs" >&5
    75216037echo "${ECHO_T}$ld_shlibs" >&6
    75226038test "$ld_shlibs" = no && can_build_shared=no
    75236039
    7524 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    7525 if test "$GCC" = yes; then
    7526   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    7527 fi
    7528 
    7529 #
    7530 # Do we need to explicitly link libc?
    7531 #
    7532 case "x$archive_cmds_need_lc" in
    7533 x|xyes)
    7534   # Assume -lc should be added
    7535   archive_cmds_need_lc=yes
    7536 
    7537   if test "$enable_shared" = yes && test "$GCC" = yes; then
    7538     case $archive_cmds in
    7539     *'~'*)
    7540       # FIXME: we may have to deal with multi-command sequences.
    7541       ;;
    7542     '$CC '*)
    7543       # Test whether the compiler implicitly links with -lc since on some
    7544       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    7545       # to ld, don't add -lc before -lgcc.
    7546       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    7547 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    7548       $rm conftest*
    7549       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    7550 
    7551       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7552   (eval $ac_compile) 2>&5
    7553   ac_status=$?
    7554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7555   (exit $ac_status); } 2>conftest.err; then
    7556         soname=conftest
    7557         lib=conftest
    7558         libobjs=conftest.$ac_objext
    7559         deplibs=
    7560         wl=$lt_prog_compiler_wl
    7561         compiler_flags=-v
    7562         linker_flags=-v
    7563         verstring=
    7564         output_objdir=.
    7565         libname=conftest
    7566         lt_save_allow_undefined_flag=$allow_undefined_flag
    7567         allow_undefined_flag=
    7568         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    7569   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
    7570   ac_status=$?
    7571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7572   (exit $ac_status); }
    7573         then
    7574           archive_cmds_need_lc=no
    7575         else
    7576           archive_cmds_need_lc=yes
    7577         fi
    7578         allow_undefined_flag=$lt_save_allow_undefined_flag
    7579       else
    7580         cat conftest.err 1>&5
    7581       fi
    7582       $rm conftest*
    7583       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
    7584 echo "${ECHO_T}$archive_cmds_need_lc" >&6
    7585       ;;
    7586     esac
     6040# Check hardcoding attributes.
     6041echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
     6042echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     6043hardcode_action=
     6044if test -n "$hardcode_libdir_flag_spec" || \
     6045   test -n "$runpath_var"; then
     6046
     6047  # We can hardcode non-existant directories.
     6048  if test "$hardcode_direct" != no &&
     6049     # If the only mechanism to avoid hardcoding is shlibpath_var, we
     6050     # have to relink, otherwise we might link with an installed library
     6051     # when we should be linking with a yet-to-be-installed one
     6052     ## test "$hardcode_shlibpath_var" != no &&
     6053     test "$hardcode_minus_L" != no; then
     6054    # Linking always hardcodes the temporary library directory.
     6055    hardcode_action=relink
     6056  else
     6057    # We can link without hardcoding, and we can hardcode nonexisting dirs.
     6058    hardcode_action=immediate
    75876059  fi
    7588   ;;
    7589 esac
    7590 
     6060else
     6061  # We cannot hardcode anything, or else we can only hardcode existing
     6062  # directories.
     6063  hardcode_action=unsupported
     6064fi
     6065echo "$as_me:$LINENO: result: $hardcode_action" >&5
     6066echo "${ECHO_T}$hardcode_action" >&6
     6067
     6068striplib=
     6069old_striplib=
     6070echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
     6071echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
     6072if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
     6073  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     6074  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     6075  echo "$as_me:$LINENO: result: yes" >&5
     6076echo "${ECHO_T}yes" >&6
     6077else
     6078  echo "$as_me:$LINENO: result: no" >&5
     6079echo "${ECHO_T}no" >&6
     6080fi
     6081
     6082reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6083test -z "$deplibs_check_method" && deplibs_check_method=unknown
     6084
     6085# PORTME Fill in your ld.so characteristics
    75916086echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    75926087echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     
    75946089libname_spec='lib$name'
    75956090soname_spec=
    7596 shrext_cmds=".so"
    75976091postinstall_cmds=
    75986092postuninstall_cmds=
     
    76046098dynamic_linker="$host_os ld.so"
    76056099sys_lib_dlsearch_path_spec="/lib /usr/lib"
    7606 if test "$GCC" = yes; then
    7607   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    7608   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    7609     # if the path contains ";" then we assume it to be the separator
    7610     # otherwise default to the standard path separator (i.e. ":") - it is
    7611     # assumed that no part of a normal pathname contains ";" but that should
    7612     # okay in the real world where ";" in dirpaths is itself problematic.
    7613     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    7614   else
    7615     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    7616   fi
    7617 else
    7618   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    7619 fi
    7620 need_lib_prefix=unknown
    7621 hardcode_into_libs=no
    7622 
    7623 # when you set need_version to no, make sure it does not cause -set_version
    7624 # flags to be left without arguments
    7625 need_version=unknown
     6100sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    76266101
    76276102case $host_os in
    76286103aix3*)
    76296104  version_type=linux
    7630   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     6105  library_names_spec='${libname}${release}.so$versuffix $libname.a'
    76316106  shlibpath_var=LIBPATH
    76326107
    7633   # AIX 3 has no versioning support, so we append a major version to the name.
    7634   soname_spec='${libname}${release}${shared_ext}$major'
     6108  # AIX has no versioning support, so we append a major version to the name.
     6109  soname_spec='${libname}${release}.so$major'
    76356110  ;;
    76366111
     
    76426117  if test "$host_cpu" = ia64; then
    76436118    # AIX 5 supports IA64
    7644     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     6119    library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
    76456120    shlibpath_var=LD_LIBRARY_PATH
    76466121  else
     
    76526127    case $host_os in
    76536128      aix4 | aix4.[01] | aix4.[01].*)
    7654       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    7655            echo ' yes '
    7656            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
    7657         :
    7658       else
    7659         can_build_shared=no
    7660       fi
    7661       ;;
     6129        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
     6130             echo ' yes '
     6131             echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
     6132          :
     6133        else
     6134          can_build_shared=no
     6135        fi
     6136        ;;
    76626137    esac
    7663     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    7664     # soname into executable. Probably we can add versioning support to
    7665     # collect2, so additional links can be useful in future.
     6138    # AIX (on Power*) has no versioning support, so currently we can
     6139    # not hardcode correct soname into executable. Probably we can
     6140    # add versioning support to collect2, so additional links can
     6141    # be useful in future.
    76666142    if test "$aix_use_runtimelinking" = yes; then
    76676143      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    76686144      # instead of lib<name>.a to let people know that these are not
    76696145      # typical AIX shared libraries.
    7670       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     6146      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    76716147    else
    76726148      # We preserve .a as extension for shared libraries through AIX4.2
    76736149      # and later when we are not doing run time linking.
    76746150      library_names_spec='${libname}${release}.a $libname.a'
    7675       soname_spec='${libname}${release}${shared_ext}$major'
     6151      soname_spec='${libname}${release}.so$major'
    76766152    fi
    76776153    shlibpath_var=LIBPATH
    76786154  fi
     6155  hardcode_into_libs=yes
    76796156  ;;
    76806157
     
    76826159  library_names_spec='$libname.ixlibrary $libname.a'
    76836160  # Create ${libname}_ixlibrary.a entries in /sys/libs.
    7684   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'
     6161  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'
    76856162  ;;
    76866163
    76876164beos*)
    7688   library_names_spec='${libname}${shared_ext}'
     6165  library_names_spec='${libname}.so'
    76896166  dynamic_linker="$host_os ld.so"
    76906167  shlibpath_var=LIBRARY_PATH
     
    76946171  version_type=linux
    76956172  need_version=no
    7696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    7697   soname_spec='${libname}${release}${shared_ext}$major'
     6173  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     6174  soname_spec='${libname}${release}.so$major'
    76986175  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    76996176  shlibpath_var=LD_LIBRARY_PATH
    77006177  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    77016178  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     6179  export_dynamic_flag_spec=-rdynamic
    77026180  # the default ld.so.conf also contains /usr/contrib/lib and
    77036181  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     
    77076185cygwin* | mingw* | pw32*)
    77086186  version_type=windows
    7709   shrext_cmds=".dll"
    77106187  need_version=no
    77116188  need_lib_prefix=no
    7712 
    77136189  case $GCC,$host_os in
    7714   yes,cygwin* | yes,mingw* | yes,pw32*)
     6190  yes,cygwin*)
    77156191    library_names_spec='$libname.dll.a'
    7716     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    7717     postinstall_cmds='base_file=`basename \${file}`~
    7718       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
     6192    soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
     6193    postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
    77196194      dldir=$destdir/`dirname \$dlpath`~
    77206195      test -d \$dldir || mkdir -p \$dldir~
    7721       $install_prog $dir/$dlname \$dldir/$dlname'
    7722     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     6196      $install_prog .libs/$dlname \$dldir/$dlname'
     6197    postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
    77236198      dlpath=$dir/\$dldll~
    77246199       $rm \$dlpath'
    7725     shlibpath_overrides_runpath=yes
    7726 
    7727     case $host_os in
    7728     cygwin*)
    7729       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    7730       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    7731       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
    7732       ;;
    7733     mingw*)
    7734       # MinGW DLLs use traditional 'lib' prefix
    7735       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    7736       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    7737       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    7738         # It is most probably a Windows format PATH printed by
    7739         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    7740         # path with ; separators, and with drive letters. We can handle the
    7741         # drive letters (cygwin fileutils understands them), so leave them,
    7742         # especially as we might pass files found there to a mingw objdump,
    7743         # which wouldn't understand a cygwinified path. Ahh.
    7744         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    7745       else
    7746         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    7747       fi
    7748       ;;
    7749     pw32*)
    7750       # pw32 DLLs use 'pw' prefix rather than 'lib'
    7751       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
    7752       ;;
    7753     esac
    77546200    ;;
    7755 
     6201  yes,mingw*)
     6202    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
     6203    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
     6204    ;;
     6205  yes,pw32*)
     6206    library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
     6207    ;;
    77566208  *)
    7757     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     6209    library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
    77586210    ;;
    77596211  esac
     
    77686220  need_lib_prefix=no
    77696221  need_version=no
    7770   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    7771   soname_spec='${libname}${release}${major}$shared_ext'
     6222  # FIXME: Relying on posixy $() will cause problems for
     6223  #        cross-compilation, but unfortunately the echo tests do not
     6224  #        yet detect zsh echo's removal of \ escapes.
     6225  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
     6226  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
    77726227  shlibpath_overrides_runpath=yes
    77736228  shlibpath_var=DYLD_LIBRARY_PATH
    7774   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
    7775   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    7776   if test "$GCC" = yes; then
    7777     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    7778   else
    7779     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    7780   fi
    7781   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    7782   ;;
    7783 
    7784 dgux*)
    7785   version_type=linux
    7786   need_lib_prefix=no
    7787   need_version=no
    7788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    7789   soname_spec='${libname}${release}${shared_ext}$major'
    7790   shlibpath_var=LD_LIBRARY_PATH
    77916229  ;;
    77926230
    77936231freebsd1*)
    77946232  dynamic_linker=no
    7795   ;;
    7796 
    7797 kfreebsd*-gnu)
    7798   version_type=linux
    7799   need_lib_prefix=no
    7800   need_version=no
    7801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    7802   soname_spec='${libname}${release}${shared_ext}$major'
    7803   shlibpath_var=LD_LIBRARY_PATH
    7804   shlibpath_overrides_runpath=no
    7805   hardcode_into_libs=yes
    7806   dynamic_linker='GNU ld.so'
    78076233  ;;
    78086234
     
    78126238  case $version_type in
    78136239    freebsd-elf*)
    7814       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     6240      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
    78156241      need_version=no
    78166242      need_lib_prefix=no
    78176243      ;;
    78186244    freebsd-*)
    7819       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     6245      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
    78206246      need_version=yes
    78216247      ;;
     
    78266252    shlibpath_overrides_runpath=yes
    78276253    ;;
    7828   freebsd3.01* | freebsdelf3.01*)
    7829     shlibpath_overrides_runpath=yes
    7830     hardcode_into_libs=yes
    7831     ;;
    7832   *) # from 3.2 on
     6254  *)
    78336255    shlibpath_overrides_runpath=no
    78346256    hardcode_into_libs=yes
     
    78416263  need_lib_prefix=no
    78426264  need_version=no
    7843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    7844   soname_spec='${libname}${release}${shared_ext}$major'
     6265  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
     6266  soname_spec='${libname}${release}.so$major'
    78456267  shlibpath_var=LD_LIBRARY_PATH
    78466268  hardcode_into_libs=yes
     
    78506272  # Give a soname corresponding to the major version so that dld.sl refuses to
    78516273  # link against other versions.
     6274  dynamic_linker="$host_os dld.sl"
    78526275  version_type=sunos
    78536276  need_lib_prefix=no
    78546277  need_version=no
    7855   case "$host_cpu" in
    7856   ia64*)
    7857     shrext_cmds='.so'
    7858     hardcode_into_libs=yes
    7859     dynamic_linker="$host_os dld.so"
    7860     shlibpath_var=LD_LIBRARY_PATH
    7861     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    7862     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    7863     soname_spec='${libname}${release}${shared_ext}$major'
    7864     if test "X$HPUX_IA64_MODE" = X32; then
    7865       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    7866     else
    7867       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    7868     fi
    7869     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    7870     ;;
    7871    hppa*64*)
    7872      shrext_cmds='.sl'
    7873      hardcode_into_libs=yes
    7874      dynamic_linker="$host_os dld.sl"
    7875      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    7876      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    7877      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    7878      soname_spec='${libname}${release}${shared_ext}$major'
    7879      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    7880      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    7881      ;;
    7882    *)
    7883     shrext_cmds='.sl'
    7884     dynamic_linker="$host_os dld.sl"
    7885     shlibpath_var=SHLIB_PATH
    7886     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    7887     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    7888     soname_spec='${libname}${release}${shared_ext}$major'
    7889     ;;
    7890   esac
     6278  shlibpath_var=SHLIB_PATH
     6279  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
     6280  library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
     6281  soname_spec='${libname}${release}.sl$major'
    78916282  # HP-UX runs *really* slowly unless shared libraries are mode 555.
    78926283  postinstall_cmds='chmod 555 $lib'
     
    78966287  case $host_os in
    78976288    nonstopux*) version_type=nonstopux ;;
    7898     *)
    7899         if test "$lt_cv_prog_gnu_ld" = yes; then
    7900                 version_type=linux
    7901         else
    7902                 version_type=irix
    7903         fi ;;
     6289    *)          version_type=irix ;;
    79046290  esac
    79056291  need_lib_prefix=no
    79066292  need_version=no
    7907   soname_spec='${libname}${release}${shared_ext}$major'
    7908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     6293  soname_spec='${libname}${release}.so$major'
     6294  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
    79096295  case $host_os in
    79106296  irix5* | nonstopux*)
     
    79136299  *)
    79146300    case $LD in # libtool.m4 will add one of these switches to LD
    7915     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    7916       libsuff= shlibsuff= libmagic=32-bit;;
    7917     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    7918       libsuff=32 shlibsuff=N32 libmagic=N32;;
    7919     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    7920       libsuff=64 shlibsuff=64 libmagic=64-bit;;
     6301    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
     6302    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
     6303    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
    79216304    *) libsuff= shlibsuff= libmagic=never-match;;
    79226305    esac
     
    79276310  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    79286311  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    7929   hardcode_into_libs=yes
    79306312  ;;
    79316313
    79326314# No shared lib support for Linux oldld, aout, or coff.
    7933 linux*oldld* | linux*aout* | linux*coff*)
     6315linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
    79346316  dynamic_linker=no
    79356317  ;;
    79366318
    79376319# This must be Linux ELF.
    7938 linux*)
     6320linux-gnu*)
    79396321  version_type=linux
    79406322  need_lib_prefix=no
    79416323  need_version=no
    7942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    7943   soname_spec='${libname}${release}${shared_ext}$major'
     6324  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     6325  soname_spec='${libname}${release}.so$major'
    79446326  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    79456327  shlibpath_var=LD_LIBRARY_PATH
     
    79506332  hardcode_into_libs=yes
    79516333
    7952   # find out which ABI we are using
     6334  # We used to test for /lib/ld.so.1 and disable shared libraries on
     6335  # powerpc, because MkLinux only supported shared libraries with the
     6336  # GNU dynamic linker.  Since this was broken with cross compilers,
     6337  # most powerpc-linux boxes support dynamic linking these days and
     6338  # people can always --disable-shared, the test was removed, and we
     6339  # assume the GNU/Linux dynamic linker is in use.
     6340  dynamic_linker='GNU/Linux ld.so'
     6341
     6342  # Find out which ABI we are using (multilib Linux x86_64 hack).
    79536343  libsuff=
    79546344  case "$host_cpu" in
    7955   x86_64*|s390x*|powerpc64*)
    7956     echo '#line 7956 "configure"' > conftest.$ac_ext
     6345  x86_64*|s390x*)
     6346    echo '#line 6346 "configure"' > conftest.$ac_ext
    79576347    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    79586348  (eval $ac_compile) 2>&5
     
    79636353      *64-bit*)
    79646354        libsuff=64
    7965         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    79666355        ;;
    79676356      esac
     
    79696358    rm -rf conftest*
    79706359    ;;
     6360  *)
     6361    ;;
    79716362  esac
    7972 
    7973   # Append ld.so.conf contents to the search path
    7974   if test -f /etc/ld.so.conf; then
    7975     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
    7976     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    7977   fi
    7978 
    7979   # We used to test for /lib/ld.so.1 and disable shared libraries on
    7980   # powerpc, because MkLinux only supported shared libraries with the
    7981   # GNU dynamic linker.  Since this was broken with cross compilers,
    7982   # most powerpc-linux boxes support dynamic linking these days and
    7983   # people can always --disable-shared, the test was removed, and we
    7984   # assume the GNU/Linux dynamic linker is in use.
    7985   dynamic_linker='GNU/Linux ld.so'
    7986   ;;
    7987 
    7988 knetbsd*-gnu)
    7989   version_type=linux
    7990   need_lib_prefix=no
    7991   need_version=no
    7992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    7993   soname_spec='${libname}${release}${shared_ext}$major'
    7994   shlibpath_var=LD_LIBRARY_PATH
    7995   shlibpath_overrides_runpath=no
    7996   hardcode_into_libs=yes
    7997   dynamic_linker='GNU ld.so'
     6363  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
     6364  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    79986365  ;;
    79996366
     
    80036370  need_version=no
    80046371  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    8005     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     6372    library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
    80066373    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    80076374    dynamic_linker='NetBSD (a.out) ld.so'
    80086375  else
    8009     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    8010     soname_spec='${libname}${release}${shared_ext}$major'
     6376    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
     6377    soname_spec='${libname}${release}.so$major'
    80116378    dynamic_linker='NetBSD ld.elf_so'
    80126379  fi
     
    80186385newsos6)
    80196386  version_type=linux
    8020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     6387  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    80216388  shlibpath_var=LD_LIBRARY_PATH
    80226389  shlibpath_overrides_runpath=yes
    80236390  ;;
    80246391
    8025 nto-qnx*)
    8026   version_type=linux
    8027   need_lib_prefix=no
    8028   need_version=no
    8029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    8030   soname_spec='${libname}${release}${shared_ext}$major'
    8031   shlibpath_var=LD_LIBRARY_PATH
    8032   shlibpath_overrides_runpath=yes
    8033   ;;
    8034 
    80356392openbsd*)
    80366393  version_type=sunos
    80376394  need_lib_prefix=no
    8038   need_version=yes
    8039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    8040   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    8041   shlibpath_var=LD_LIBRARY_PATH
     6395  need_version=no
    80426396  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    8043     case $host_os in
    8044       openbsd2.[89] | openbsd2.[89].*)
    8045         shlibpath_overrides_runpath=no
    8046         ;;
    8047       *)
    8048         shlibpath_overrides_runpath=yes
    8049         ;;
    8050       esac
     6397    case "$host_os" in
     6398    openbsd2.[89] | openbsd2.[89].*)
     6399      shlibpath_overrides_runpath=no
     6400      ;;
     6401    *)
     6402      shlibpath_overrides_runpath=yes
     6403      ;;
     6404    esac
    80516405  else
    80526406    shlibpath_overrides_runpath=yes
    80536407  fi
     6408  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     6409  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     6410  shlibpath_var=LD_LIBRARY_PATH
    80546411  ;;
    80556412
    80566413os2*)
    80576414  libname_spec='$name'
    8058   shrext_cmds=".dll"
    80596415  need_lib_prefix=no
    8060   library_names_spec='$libname${shared_ext} $libname.a'
     6416  library_names_spec='$libname.dll $libname.a'
    80616417  dynamic_linker='OS/2 ld.exe'
    80626418  shlibpath_var=LIBPATH
     
    80656421osf3* | osf4* | osf5*)
    80666422  version_type=osf
    8067   need_lib_prefix=no
    80686423  need_version=no
    8069   soname_spec='${libname}${release}${shared_ext}$major'
    8070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     6424  soname_spec='${libname}${release}.so$major'
     6425  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    80716426  shlibpath_var=LD_LIBRARY_PATH
    80726427  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    80736428  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     6429  hardcode_into_libs=yes
    80746430  ;;
    80756431
    80766432sco3.2v5*)
    80776433  version_type=osf
    8078   soname_spec='${libname}${release}${shared_ext}$major'
    8079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     6434  soname_spec='${libname}${release}.so$major'
     6435  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    80806436  shlibpath_var=LD_LIBRARY_PATH
    80816437  ;;
     
    80856441  need_lib_prefix=no
    80866442  need_version=no
    8087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    8088   soname_spec='${libname}${release}${shared_ext}$major'
     6443  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     6444  soname_spec='${libname}${release}.so$major'
    80896445  shlibpath_var=LD_LIBRARY_PATH
    80906446  shlibpath_overrides_runpath=yes
     
    80966452sunos4*)
    80976453  version_type=sunos
    8098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     6454  library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
    80996455  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    81006456  shlibpath_var=LD_LIBRARY_PATH
     
    81086464sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    81096465  version_type=linux
    8110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    8111   soname_spec='${libname}${release}${shared_ext}$major'
     6466  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     6467  soname_spec='${libname}${release}.so$major'
    81126468  shlibpath_var=LD_LIBRARY_PATH
    81136469  case $host_vendor in
     
    81306486  ;;
    81316487
     6488uts4*)
     6489  version_type=linux
     6490  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     6491  soname_spec='${libname}${release}.so$major'
     6492  shlibpath_var=LD_LIBRARY_PATH
     6493  ;;
     6494
     6495dgux*)
     6496  version_type=linux
     6497  need_lib_prefix=no
     6498  need_version=no
     6499  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     6500  soname_spec='${libname}${release}.so$major'
     6501  shlibpath_var=LD_LIBRARY_PATH
     6502  ;;
     6503
    81326504sysv4*MP*)
    81336505  if test -d /usr/nec ;then
    81346506    version_type=linux
    8135     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    8136     soname_spec='$libname${shared_ext}.$major'
     6507    library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
     6508    soname_spec='$libname.so.$major'
    81376509    shlibpath_var=LD_LIBRARY_PATH
    81386510  fi
    8139   ;;
    8140 
    8141 uts4*)
    8142   version_type=linux
    8143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    8144   soname_spec='${libname}${release}${shared_ext}$major'
    8145   shlibpath_var=LD_LIBRARY_PATH
    81466511  ;;
    81476512
     
    81546519test "$dynamic_linker" = no && can_build_shared=no
    81556520
    8156 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    8157 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
    8158 hardcode_action=
    8159 if test -n "$hardcode_libdir_flag_spec" || \
    8160    test -n "$runpath_var " || \
    8161    test "X$hardcode_automatic"="Xyes" ; then
    8162 
    8163   # We can hardcode non-existant directories.
    8164   if test "$hardcode_direct" != no &&
    8165      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    8166      # have to relink, otherwise we might link with an installed library
    8167      # when we should be linking with a yet-to-be-installed one
    8168      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
    8169      test "$hardcode_minus_L" != no; then
    8170     # Linking always hardcodes the temporary library directory.
    8171     hardcode_action=relink
    8172   else
    8173     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    8174     hardcode_action=immediate
     6521# Report the final consequences.
     6522echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
     6523echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
     6524echo "$as_me:$LINENO: result: $can_build_shared" >&5
     6525echo "${ECHO_T}$can_build_shared" >&6
     6526
     6527echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
     6528echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
     6529test "$can_build_shared" = "no" && enable_shared=no
     6530
     6531# On AIX, shared libraries and static libraries use the same namespace, and
     6532# are all built from PIC.
     6533case "$host_os" in
     6534aix3*)
     6535  test "$enable_shared" = yes && enable_static=no
     6536  if test -n "$RANLIB"; then
     6537    archive_cmds="$archive_cmds~\$RANLIB \$lib"
     6538    postinstall_cmds='$RANLIB $lib'
    81756539  fi
    8176 else
    8177   # We cannot hardcode anything, or else we can only hardcode existing
    8178   # directories.
    8179   hardcode_action=unsupported
    8180 fi
    8181 echo "$as_me:$LINENO: result: $hardcode_action" >&5
    8182 echo "${ECHO_T}$hardcode_action" >&6
     6540  ;;
     6541
     6542aix4*)
     6543  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
     6544    test "$enable_shared" = yes && enable_static=no
     6545  fi
     6546  ;;
     6547esac
     6548echo "$as_me:$LINENO: result: $enable_shared" >&5
     6549echo "${ECHO_T}$enable_shared" >&6
     6550
     6551echo "$as_me:$LINENO: checking whether to build static libraries" >&5
     6552echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
     6553# Make sure either enable_shared or enable_static is yes.
     6554test "$enable_shared" = yes || enable_static=yes
     6555echo "$as_me:$LINENO: result: $enable_static" >&5
     6556echo "${ECHO_T}$enable_static" >&6
    81836557
    81846558if test "$hardcode_action" = relink; then
     
    81916565fi
    81926566
    8193 striplib=
    8194 old_striplib=
    8195 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
    8196 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
    8197 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
    8198   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    8199   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    8200   echo "$as_me:$LINENO: result: yes" >&5
    8201 echo "${ECHO_T}yes" >&6
    8202 else
    8203 # FIXME - insert some real tests, host_os isn't really good enough
    8204   case $host_os in
    8205    darwin*)
    8206        if test -n "$STRIP" ; then
    8207          striplib="$STRIP -x"
    8208          echo "$as_me:$LINENO: result: yes" >&5
    8209 echo "${ECHO_T}yes" >&6
    8210        else
    8211   echo "$as_me:$LINENO: result: no" >&5
    8212 echo "${ECHO_T}no" >&6
    8213 fi
    8214        ;;
    8215    *)
    8216   echo "$as_me:$LINENO: result: no" >&5
    8217 echo "${ECHO_T}no" >&6
    8218     ;;
    8219   esac
     6567variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     6568if test "$GCC" = yes; then
     6569  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    82206570fi
    82216571
     
    82356585    ;;
    82366586
    8237   mingw* | pw32*)
     6587  cygwin* | mingw* | pw32*)
    82386588    lt_cv_dlopen="LoadLibrary"
    82396589    lt_cv_dlopen_libs=
    8240    ;;
    8241 
    8242   cygwin*)
    8243     lt_cv_dlopen="dlopen"
    8244     lt_cv_dlopen_libs=
    8245    ;;
    8246 
    8247   darwin*)
    8248   # if libdl is installed we need to link against it
    8249     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    8250 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    8251 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    8252   echo $ECHO_N "(cached) $ECHO_C" >&6
    8253 else
    8254   ac_check_lib_save_LIBS=$LIBS
    8255 LIBS="-ldl  $LIBS"
    8256 cat >conftest.$ac_ext <<_ACEOF
    8257 /* confdefs.h.  */
    8258 _ACEOF
    8259 cat confdefs.h >>conftest.$ac_ext
    8260 cat >>conftest.$ac_ext <<_ACEOF
    8261 /* end confdefs.h.  */
    8262 
    8263 /* Override any gcc2 internal prototype to avoid an error.  */
    8264 #ifdef __cplusplus
    8265 extern "C"
    8266 #endif
    8267 /* We use char because int might match the return type of a gcc2
    8268    builtin and then its argument prototype would still apply.  */
    8269 char dlopen ();
    8270 int
    8271 main ()
    8272 {
    8273 dlopen ();
    8274   ;
    8275   return 0;
    8276 }
    8277 _ACEOF
    8278 rm -f conftest.$ac_objext conftest$ac_exeext
    8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8280   (eval $ac_link) 2>conftest.er1
    8281   ac_status=$?
    8282   grep -v '^ *+' conftest.er1 >conftest.err
    8283   rm -f conftest.er1
    8284   cat conftest.err >&5
    8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8286   (exit $ac_status); } &&
    8287          { ac_try='test -z "$ac_c_werror_flag"
    8288                          || test ! -s conftest.err'
    8289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8290   (eval $ac_try) 2>&5
    8291   ac_status=$?
    8292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8293   (exit $ac_status); }; } &&
    8294          { ac_try='test -s conftest$ac_exeext'
    8295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8296   (eval $ac_try) 2>&5
    8297   ac_status=$?
    8298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8299   (exit $ac_status); }; }; then
    8300   ac_cv_lib_dl_dlopen=yes
    8301 else
    8302   echo "$as_me: failed program was:" >&5
    8303 sed 's/^/| /' conftest.$ac_ext >&5
    8304 
    8305 ac_cv_lib_dl_dlopen=no
    8306 fi
    8307 rm -f conftest.err conftest.$ac_objext \
    8308       conftest$ac_exeext conftest.$ac_ext
    8309 LIBS=$ac_check_lib_save_LIBS
    8310 fi
    8311 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    8312 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    8313 if test $ac_cv_lib_dl_dlopen = yes; then
    8314   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    8315 else
    8316 
    8317     lt_cv_dlopen="dyld"
    8318     lt_cv_dlopen_libs=
    8319     lt_cv_dlopen_self=yes
    8320 
    8321 fi
    8322 
    83236590   ;;
    83246591
     
    83306597else
    83316598  cat >conftest.$ac_ext <<_ACEOF
     6599#line $LINENO "configure"
    83326600/* confdefs.h.  */
    83336601_ACEOF
     
    83356603cat >>conftest.$ac_ext <<_ACEOF
    83366604/* end confdefs.h.  */
    8337 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
    8338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8339 #define shl_load innocuous_shl_load
    8340 
    83416605/* System header to define __stub macros and hopefully few prototypes,
    83426606    which can conflict with char shl_load (); below.
    83436607    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    83446608    <limits.h> exists even on freestanding compilers.  */
    8345 
    83466609#ifdef __STDC__
    83476610# include <limits.h>
     
    83496612# include <assert.h>
    83506613#endif
    8351 
    8352 #undef shl_load
    8353 
    83546614/* Override any gcc2 internal prototype to avoid an error.  */
    83556615#ifdef __cplusplus
     
    83826642rm -f conftest.$ac_objext conftest$ac_exeext
    83836643if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8384   (eval $ac_link) 2>conftest.er1
     6644  (eval $ac_link) 2>&5
    83856645  ac_status=$?
    8386   grep -v '^ *+' conftest.er1 >conftest.err
    8387   rm -f conftest.er1
    8388   cat conftest.err >&5
    83896646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    83906647  (exit $ac_status); } &&
    8391          { ac_try='test -z "$ac_c_werror_flag"
    8392                          || test ! -s conftest.err'
    8393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8394   (eval $ac_try) 2>&5
    8395   ac_status=$?
    8396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8397   (exit $ac_status); }; } &&
    8398          { ac_try='test -s conftest$ac_exeext'
     6648         { ac_try='test -s conftest$ac_exeext'
    83996649  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    84006650  (eval $ac_try) 2>&5
     
    84096659ac_cv_func_shl_load=no
    84106660fi
    8411 rm -f conftest.err conftest.$ac_objext \
    8412       conftest$ac_exeext conftest.$ac_ext
     6661rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    84136662fi
    84146663echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     
    84256674LIBS="-ldld  $LIBS"
    84266675cat >conftest.$ac_ext <<_ACEOF
     6676#line $LINENO "configure"
    84276677/* confdefs.h.  */
    84286678_ACEOF
     
    84486698rm -f conftest.$ac_objext conftest$ac_exeext
    84496699if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8450   (eval $ac_link) 2>conftest.er1
     6700  (eval $ac_link) 2>&5
    84516701  ac_status=$?
    8452   grep -v '^ *+' conftest.er1 >conftest.err
    8453   rm -f conftest.er1
    8454   cat conftest.err >&5
    84556702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    84566703  (exit $ac_status); } &&
    8457          { ac_try='test -z "$ac_c_werror_flag"
    8458                          || test ! -s conftest.err'
    8459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8460   (eval $ac_try) 2>&5
    8461   ac_status=$?
    8462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8463   (exit $ac_status); }; } &&
    8464          { ac_try='test -s conftest$ac_exeext'
     6704         { ac_try='test -s conftest$ac_exeext'
    84656705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    84666706  (eval $ac_try) 2>&5
     
    84756715ac_cv_lib_dld_shl_load=no
    84766716fi
    8477 rm -f conftest.err conftest.$ac_objext \
    8478       conftest$ac_exeext conftest.$ac_ext
     6717rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    84796718LIBS=$ac_check_lib_save_LIBS
    84806719fi
     
    84906729else
    84916730  cat >conftest.$ac_ext <<_ACEOF
     6731#line $LINENO "configure"
    84926732/* confdefs.h.  */
    84936733_ACEOF
     
    84956735cat >>conftest.$ac_ext <<_ACEOF
    84966736/* end confdefs.h.  */
    8497 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
    8498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8499 #define dlopen innocuous_dlopen
    8500 
    85016737/* System header to define __stub macros and hopefully few prototypes,
    85026738    which can conflict with char dlopen (); below.
    85036739    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    85046740    <limits.h> exists even on freestanding compilers.  */
    8505 
    85066741#ifdef __STDC__
    85076742# include <limits.h>
     
    85096744# include <assert.h>
    85106745#endif
    8511 
    8512 #undef dlopen
    8513 
    85146746/* Override any gcc2 internal prototype to avoid an error.  */
    85156747#ifdef __cplusplus
     
    85426774rm -f conftest.$ac_objext conftest$ac_exeext
    85436775if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8544   (eval $ac_link) 2>conftest.er1
     6776  (eval $ac_link) 2>&5
    85456777  ac_status=$?
    8546   grep -v '^ *+' conftest.er1 >conftest.err
    8547   rm -f conftest.er1
    8548   cat conftest.err >&5
    85496778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    85506779  (exit $ac_status); } &&
    8551          { ac_try='test -z "$ac_c_werror_flag"
    8552                          || test ! -s conftest.err'
    8553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8554   (eval $ac_try) 2>&5
    8555   ac_status=$?
    8556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8557   (exit $ac_status); }; } &&
    8558          { ac_try='test -s conftest$ac_exeext'
     6780         { ac_try='test -s conftest$ac_exeext'
    85596781  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    85606782  (eval $ac_try) 2>&5
     
    85696791ac_cv_func_dlopen=no
    85706792fi
    8571 rm -f conftest.err conftest.$ac_objext \
    8572       conftest$ac_exeext conftest.$ac_ext
     6793rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    85736794fi
    85746795echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     
    85856806LIBS="-ldl  $LIBS"
    85866807cat >conftest.$ac_ext <<_ACEOF
     6808#line $LINENO "configure"
    85876809/* confdefs.h.  */
    85886810_ACEOF
     
    86086830rm -f conftest.$ac_objext conftest$ac_exeext
    86096831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8610   (eval $ac_link) 2>conftest.er1
     6832  (eval $ac_link) 2>&5
    86116833  ac_status=$?
    8612   grep -v '^ *+' conftest.er1 >conftest.err
    8613   rm -f conftest.er1
    8614   cat conftest.err >&5
    86156834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    86166835  (exit $ac_status); } &&
    8617          { ac_try='test -z "$ac_c_werror_flag"
    8618                          || test ! -s conftest.err'
    8619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8620   (eval $ac_try) 2>&5
    8621   ac_status=$?
    8622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8623   (exit $ac_status); }; } &&
    8624          { ac_try='test -s conftest$ac_exeext'
     6836         { ac_try='test -s conftest$ac_exeext'
    86256837  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    86266838  (eval $ac_try) 2>&5
     
    86356847ac_cv_lib_dl_dlopen=no
    86366848fi
    8637 rm -f conftest.err conftest.$ac_objext \
    8638       conftest$ac_exeext conftest.$ac_ext
     6849rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    86396850LIBS=$ac_check_lib_save_LIBS
    86406851fi
     
    86526863LIBS="-lsvld  $LIBS"
    86536864cat >conftest.$ac_ext <<_ACEOF
     6865#line $LINENO "configure"
    86546866/* confdefs.h.  */
    86556867_ACEOF
     
    86756887rm -f conftest.$ac_objext conftest$ac_exeext
    86766888if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8677   (eval $ac_link) 2>conftest.er1
     6889  (eval $ac_link) 2>&5
    86786890  ac_status=$?
    8679   grep -v '^ *+' conftest.er1 >conftest.err
    8680   rm -f conftest.er1
    8681   cat conftest.err >&5
    86826891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    86836892  (exit $ac_status); } &&
    8684          { ac_try='test -z "$ac_c_werror_flag"
    8685                          || test ! -s conftest.err'
    8686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8687   (eval $ac_try) 2>&5
    8688   ac_status=$?
    8689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8690   (exit $ac_status); }; } &&
    8691          { ac_try='test -s conftest$ac_exeext'
     6893         { ac_try='test -s conftest$ac_exeext'
    86926894  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    86936895  (eval $ac_try) 2>&5
     
    87026904ac_cv_lib_svld_dlopen=no
    87036905fi
    8704 rm -f conftest.err conftest.$ac_objext \
    8705       conftest$ac_exeext conftest.$ac_ext
     6906rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    87066907LIBS=$ac_check_lib_save_LIBS
    87076908fi
     
    87196920LIBS="-ldld  $LIBS"
    87206921cat >conftest.$ac_ext <<_ACEOF
     6922#line $LINENO "configure"
    87216923/* confdefs.h.  */
    87226924_ACEOF
     
    87426944rm -f conftest.$ac_objext conftest$ac_exeext
    87436945if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8744   (eval $ac_link) 2>conftest.er1
     6946  (eval $ac_link) 2>&5
    87456947  ac_status=$?
    8746   grep -v '^ *+' conftest.er1 >conftest.err
    8747   rm -f conftest.er1
    8748   cat conftest.err >&5
    87496948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    87506949  (exit $ac_status); } &&
    8751          { ac_try='test -z "$ac_c_werror_flag"
    8752                          || test ! -s conftest.err'
    8753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8754   (eval $ac_try) 2>&5
    8755   ac_status=$?
    8756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8757   (exit $ac_status); }; } &&
    8758          { ac_try='test -s conftest$ac_exeext'
     6950         { ac_try='test -s conftest$ac_exeext'
    87596951  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    87606952  (eval $ac_try) 2>&5
     
    87696961ac_cv_lib_dld_dld_link=no
    87706962fi
    8771 rm -f conftest.err conftest.$ac_objext \
    8772       conftest$ac_exeext conftest.$ac_ext
     6963rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    87736964LIBS=$ac_check_lib_save_LIBS
    87746965fi
     
    88066997  dlopen)
    88076998    save_CPPFLAGS="$CPPFLAGS"
    8808     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     6999        test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    88097000
    88107001    save_LDFLAGS="$LDFLAGS"
     
    88227013  lt_cv_dlopen_self=cross
    88237014else
    8824   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     7015    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    88257016  lt_status=$lt_dlunknown
    88267017  cat > conftest.$ac_ext <<EOF
    8827 #line 8827 "configure"
     7018#line 7018 "configure"
    88287019#include "confdefs.h"
    88297020
     
    89207111  lt_cv_dlopen_self_static=cross
    89217112else
    8922   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     7113    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    89237114  lt_status=$lt_dlunknown
    89247115  cat > conftest.$ac_ext <<EOF
    8925 #line 8925 "configure"
     7116#line 7116 "configure"
    89267117#include "confdefs.h"
    89277118
     
    90277218
    90287219
    9029 # Report which librarie types wil actually be built
    9030 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
    9031 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
    9032 echo "$as_me:$LINENO: result: $can_build_shared" >&5
    9033 echo "${ECHO_T}$can_build_shared" >&6
    9034 
    9035 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
    9036 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
    9037 test "$can_build_shared" = "no" && enable_shared=no
    9038 
    9039 # On AIX, shared libraries and static libraries use the same namespace, and
    9040 # are all built from PIC.
    9041 case "$host_os" in
    9042 aix3*)
    9043   test "$enable_shared" = yes && enable_static=no
    9044   if test -n "$RANLIB"; then
    9045     archive_cmds="$archive_cmds~\$RANLIB \$lib"
    9046     postinstall_cmds='$RANLIB $lib'
    9047   fi
    9048   ;;
    9049 
    9050 aix4* | aix5*)
    9051   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    9052     test "$enable_shared" = yes && enable_static=no
    9053   fi
    9054   ;;
    9055   darwin* | rhapsody*)
    9056   if test "$GCC" = yes; then
    9057     archive_cmds_need_lc=no
    9058     case "$host_os" in
    9059     rhapsody* | darwin1.[012])
    9060       allow_undefined_flag='-undefined suppress'
    9061       ;;
    9062     *) # Darwin 1.3 on
    9063       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    9064         allow_undefined_flag='-flat_namespace -undefined suppress'
     7220if test "$enable_shared" = yes && test "$GCC" = yes; then
     7221  case $archive_cmds in
     7222  *'~'*)
     7223    # FIXME: we may have to deal with multi-command sequences.
     7224    ;;
     7225  '$CC '*)
     7226    # Test whether the compiler implicitly links with -lc since on some
     7227    # systems, -lgcc has to come before -lc. If gcc already passes -lc
     7228    # to ld, don't add -lc before -lgcc.
     7229    echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
     7230echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
     7231    if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
     7232  echo $ECHO_N "(cached) $ECHO_C" >&6
     7233else
     7234  $rm conftest*
     7235    echo 'static int dummy;' > conftest.$ac_ext
     7236
     7237    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7238  (eval $ac_compile) 2>&5
     7239  ac_status=$?
     7240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7241  (exit $ac_status); }; then
     7242      soname=conftest
     7243      lib=conftest
     7244      libobjs=conftest.$ac_objext
     7245      deplibs=
     7246      wl=$lt_cv_prog_cc_wl
     7247      compiler_flags=-v
     7248      linker_flags=-v
     7249      verstring=
     7250      output_objdir=.
     7251      libname=conftest
     7252      save_allow_undefined_flag=$allow_undefined_flag
     7253      allow_undefined_flag=
     7254      if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
     7255  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     7256  ac_status=$?
     7257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7258  (exit $ac_status); }
     7259      then
     7260        lt_cv_archive_cmds_need_lc=no
    90657261      else
    9066         case ${MACOSX_DEPLOYMENT_TARGET} in
    9067           10.[012])
    9068             allow_undefined_flag='-flat_namespace -undefined suppress'
    9069             ;;
    9070           10.*)
    9071             allow_undefined_flag='-undefined dynamic_lookup'
    9072             ;;
    9073         esac
     7262        lt_cv_archive_cmds_need_lc=yes
    90747263      fi
    9075       ;;
    9076     esac
    9077     output_verbose_link_cmd='echo'
    9078     archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
    9079     module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    9080     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    9081     archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    9082     module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    9083     hardcode_direct=no
    9084     hardcode_automatic=yes
    9085     hardcode_shlibpath_var=unsupported
    9086     whole_archive_flag_spec='-all_load $convenience'
    9087     link_all_deplibs=yes
    9088   else
    9089     ld_shlibs=no
    9090   fi
     7264      allow_undefined_flag=$save_allow_undefined_flag
     7265    else
     7266      cat conftest.err 1>&5
     7267    fi
     7268fi
     7269
     7270    echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
     7271echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
    90917272    ;;
    9092 esac
    9093 echo "$as_me:$LINENO: result: $enable_shared" >&5
    9094 echo "${ECHO_T}$enable_shared" >&6
    9095 
    9096 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
    9097 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
    9098 # Make sure either enable_shared or enable_static is yes.
    9099 test "$enable_shared" = yes || enable_static=yes
    9100 echo "$as_me:$LINENO: result: $enable_static" >&5
    9101 echo "${ECHO_T}$enable_static" >&6
    9102 
    9103 # The else clause should only fire when bootstrapping the
     7273  esac
     7274fi
     7275need_lc=${lt_cv_archive_cmds_need_lc-yes}
     7276
     7277# The second clause should only fire when bootstrapping the
    91047278# libtool distribution, otherwise you forgot to ship ltmain.sh
    91057279# with your package, and you will get complaints that there are
    91067280# no rules to generate ltmain.sh.
    91077281if test -f "$ltmain"; then
    9108   # See if we are running on zsh, and set the options which allow our commands through
    9109   # without removal of \ escapes.
    9110   if test -n "${ZSH_VERSION+set}" ; then
    9111     setopt NO_GLOB_SUBST
    9112   fi
     7282  :
     7283else
     7284  # If there is no Makefile yet, we rely on a make rule to execute
     7285  # `config.status --recheck' to rerun these tests and create the
     7286  # libtool script then.
     7287  test -f Makefile && make "$ltmain"
     7288fi
     7289
     7290if test -f "$ltmain"; then
     7291  trap "$rm \"${ofile}T\"; exit 1" 1 2 15
     7292  $rm -f "${ofile}T"
     7293
     7294  echo creating $ofile
     7295
    91137296  # Now quote all the things that may contain metacharacters while being
    91147297  # careful not to overquote the AC_SUBSTed values.  We take copies of the
    91157298  # variables and quote the copies for generation of the libtool script.
    9116   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
    9117     SED SHELL STRIP \
    9118     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    9119     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    9120     deplibs_check_method reload_flag reload_cmds need_locks \
    9121     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    9122     lt_cv_sys_global_symbol_to_c_name_address \
     7299  for var in echo old_CC old_CFLAGS SED \
     7300    AR AR_FLAGS CC LD LN_S NM SHELL \
     7301    reload_flag reload_cmds wl \
     7302    pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
     7303    thread_safe_flag_spec whole_archive_flag_spec libname_spec \
     7304    library_names_spec soname_spec \
     7305    RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
     7306    old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
     7307    postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
     7308    old_striplib striplib file_magic_cmd export_symbols_cmds \
     7309    deplibs_check_method allow_undefined_flag no_undefined_flag \
     7310    finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
     7311    global_symbol_to_c_name_address \
     7312    hardcode_libdir_flag_spec hardcode_libdir_separator  \
    91237313    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    9124     old_postinstall_cmds old_postuninstall_cmds \
    9125     compiler \
    9126     CC \
    9127     LD \
    9128     lt_prog_compiler_wl \
    9129     lt_prog_compiler_pic \
    9130     lt_prog_compiler_static \
    9131     lt_prog_compiler_no_builtin_flag \
    9132     export_dynamic_flag_spec \
    9133     thread_safe_flag_spec \
    9134     whole_archive_flag_spec \
    9135     enable_shared_with_static_runtimes \
    9136     old_archive_cmds \
    9137     old_archive_from_new_cmds \
    9138     predep_objects \
    9139     postdep_objects \
    9140     predeps \
    9141     postdeps \
    9142     compiler_lib_search_path \
    9143     archive_cmds \
    9144     archive_expsym_cmds \
    9145     postinstall_cmds \
    9146     postuninstall_cmds \
    9147     old_archive_from_expsyms_cmds \
    9148     allow_undefined_flag \
    9149     no_undefined_flag \
    9150     export_symbols_cmds \
    9151     hardcode_libdir_flag_spec \
    9152     hardcode_libdir_flag_spec_ld \
    9153     hardcode_libdir_separator \
    9154     hardcode_automatic \
    9155     module_cmds \
    9156     module_expsym_cmds \
    9157     lt_cv_prog_compiler_c_o \
    9158     exclude_expsyms \
    9159     include_expsyms; do
     7314    compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
    91607315
    91617316    case $var in
    9162     old_archive_cmds | \
    9163     old_archive_from_new_cmds | \
    9164     archive_cmds | \
    9165     archive_expsym_cmds | \
    9166     module_cmds | \
    9167     module_expsym_cmds | \
    9168     old_archive_from_expsyms_cmds | \
    9169     export_symbols_cmds | \
    9170     extract_expsyms_cmds | reload_cmds | finish_cmds | \
     7317    reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
     7318    old_postinstall_cmds | old_postuninstall_cmds | \
     7319    export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
     7320    extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
    91717321    postinstall_cmds | postuninstall_cmds | \
    9172     old_postinstall_cmds | old_postuninstall_cmds | \
    9173     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
     7322    finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    91747323      # Double-quote double-evaled strings.
    91757324      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
     
    91817330  done
    91827331
    9183   case $lt_echo in
    9184   *'\$0 --fallback-echo"')
    9185     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    9186     ;;
    9187   esac
    9188 
    9189 cfgfile="${ofile}T"
    9190   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
    9191   $rm -f "$cfgfile"
    9192   { echo "$as_me:$LINENO: creating $ofile" >&5
    9193 echo "$as_me: creating $ofile" >&6;}
    9194 
    9195   cat <<__EOF__ >> "$cfgfile"
     7332  cat <<__EOF__ > "${ofile}T"
    91967333#! $SHELL
    91977334
    9198 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
     7335# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    91997336# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
    92007337# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    92017338#
    9202 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
    9203 # Free Software Foundation, Inc.
    9204 #
    9205 # This file is part of GNU Libtool:
     7339# Copyright (C) 1996-2000 Free Software Foundation, Inc.
    92067340# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
    92077341#
     
    92257359# the same distribution terms that you use for the rest of that program.
    92267360
    9227 # A sed program that does not truncate output.
     7361# A sed that does not truncate output.
    92287362SED=$lt_SED
    92297363
    92307364# Sed that helps us avoid accidentally triggering echo(1) options like -n.
    9231 Xsed="$SED -e s/^X//"
     7365Xsed="${SED} -e s/^X//"
    92327366
    92337367# The HP-UX ksh and POSIX shell print the target directory to stdout
     
    92357369if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
    92367370
    9237 # The names of the tagged configurations supported by this script.
    9238 available_tags=
    9239 
    92407371# ### BEGIN LIBTOOL CONFIG
    92417372
     
    92527383
    92537384# Whether or not to add -lc for building shared libraries.
    9254 build_libtool_need_lc=$archive_cmds_need_lc
    9255 
    9256 # Whether or not to disallow shared libs when runtime libs are static
    9257 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
     7385build_libtool_need_lc=$need_lc
    92587386
    92597387# Whether or not to optimize for fast installation.
     
    92717399AR_FLAGS=$lt_AR_FLAGS
    92727400
    9273 # A C compiler.
    9274 LTCC=$lt_LTCC
    9275 
    9276 # A language-specific compiler.
    9277 CC=$lt_compiler
     7401# The default C compiler.
     7402CC=$lt_CC
    92787403
    92797404# Is the compiler the GNU C compiler?
    92807405with_gcc=$GCC
    92817406
    9282 # An ERE matcher.
    9283 EGREP=$lt_EGREP
    9284 
    92857407# The linker used to build libraries.
    92867408LD=$lt_LD
     
    92937415
    92947416# A symbol stripping program
    9295 STRIP=$lt_STRIP
     7417STRIP=$STRIP
    92967418
    92977419# Used to examine libraries when file_magic_cmd begins "file"
     
    93157437
    93167438# How to pass a linker flag through the compiler.
    9317 wl=$lt_lt_prog_compiler_wl
     7439wl=$lt_wl
    93187440
    93197441# Object file suffix (normally "o").
     
    93237445libext="$libext"
    93247446
    9325 # Shared library suffix (normally ".so").
    9326 shrext_cmds='$shrext_cmds'
    9327 
    93287447# Executable file suffix (normally "").
    93297448exeext="$exeext"
    93307449
    93317450# Additional compiler flags for building library objects.
    9332 pic_flag=$lt_lt_prog_compiler_pic
     7451pic_flag=$lt_pic_flag
    93337452pic_mode=$pic_mode
    93347453
    9335 # What is the maximum length of a command?
    9336 max_cmd_len=$lt_cv_sys_max_cmd_len
    9337 
    93387454# Does compiler simultaneously support -c and -o options?
    9339 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
     7455compiler_c_o=$lt_compiler_c_o
     7456
     7457# Can we write directly to a .lo ?
     7458compiler_o_lo=$lt_compiler_o_lo
    93407459
    93417460# Must we lock files when doing compilation ?
     
    93587477
    93597478# Compiler flag to prevent dynamic linking.
    9360 link_static_flag=$lt_lt_prog_compiler_static
     7479link_static_flag=$lt_link_static_flag
    93617480
    93627481# Compiler flag to turn off builtin functions.
    9363 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
     7482no_builtin_flag=$lt_no_builtin_flag
    93647483
    93657484# Compiler flag to allow reflexive dlopens.
     
    94037522postuninstall_cmds=$lt_postuninstall_cmds
    94047523
    9405 # Commands used to build a loadable module (assumed same as above if empty)
    9406 module_cmds=$lt_module_cmds
    9407 module_expsym_cmds=$lt_module_expsym_cmds
    9408 
    94097524# Commands to strip libraries.
    94107525old_striplib=$lt_old_striplib
    94117526striplib=$lt_striplib
    94127527
    9413 # Dependencies to place before the objects being linked to create a
    9414 # shared library.
    9415 predep_objects=$lt_predep_objects
    9416 
    9417 # Dependencies to place after the objects being linked to create a
    9418 # shared library.
    9419 postdep_objects=$lt_postdep_objects
    9420 
    9421 # Dependencies to place before the objects being linked to create a
    9422 # shared library.
    9423 predeps=$lt_predeps
    9424 
    9425 # Dependencies to place after the objects being linked to create a
    9426 # shared library.
    9427 postdeps=$lt_postdeps
    9428 
    9429 # The library search path used internally by the compiler when linking
    9430 # a shared library.
    9431 compiler_lib_search_path=$lt_compiler_lib_search_path
    9432 
    94337528# Method to check whether dependent libraries are shared objects.
    94347529deplibs_check_method=$lt_deplibs_check_method
     
    94507545
    94517546# Take the output of nm and produce a listing of raw symbols and C names.
    9452 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     7547global_symbol_pipe=$lt_global_symbol_pipe
    94537548
    94547549# Transform the output of nm in a proper C declaration
    9455 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     7550global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
    94567551
    94577552# Transform the output of nm in a C name address pair
    9458 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     7553global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
    94597554
    94607555# This is the shared library runtime path variable.
     
    94777572hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    94787573
    9479 # If ld is used when linking, flag to hardcode \$libdir into
    9480 # a binary during linking. This must work even if \$libdir does
    9481 # not exist.
    9482 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
    9483 
    94847574# Whether we need a single -rpath flag with a separated argument.
    94857575hardcode_libdir_separator=$lt_hardcode_libdir_separator
    94867576
    9487 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
     7577# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
    94887578# resulting binary.
    94897579hardcode_direct=$hardcode_direct
     
    94977587hardcode_shlibpath_var=$hardcode_shlibpath_var
    94987588
    9499 # Set to yes if building a shared library automatically hardcodes DIR into the library
    9500 # and all subsequent libraries and executables linked against it.
    9501 hardcode_automatic=$hardcode_automatic
    9502 
    95037589# Variables whose values should be saved in libtool wrapper scripts and
    95047590# restored at relink time.
     
    95367622__EOF__
    95377623
    9538 
    95397624  case $host_os in
    95407625  aix3*)
    9541     cat <<\EOF >> "$cfgfile"
     7626    cat <<\EOF >> "${ofile}T"
    95427627
    95437628# AIX sometimes has problems with the GCC collect2 program.  For some
     
    95527637  esac
    95537638
     7639  case $host_os in
     7640  cygwin* | mingw* | pw32* | os2*)
     7641    cat <<'EOF' >> "${ofile}T"
     7642      # This is a source program that is used to create dlls on Windows
     7643      # Don't remove nor modify the starting and closing comments
     7644# /* ltdll.c starts here */
     7645# #define WIN32_LEAN_AND_MEAN
     7646# #include <windows.h>
     7647# #undef WIN32_LEAN_AND_MEAN
     7648# #include <stdio.h>
     7649#
     7650# #ifndef __CYGWIN__
     7651# #  ifdef __CYGWIN32__
     7652# #    define __CYGWIN__ __CYGWIN32__
     7653# #  endif
     7654# #endif
     7655#
     7656# #ifdef __cplusplus
     7657# extern "C" {
     7658# #endif
     7659# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
     7660# #ifdef __cplusplus
     7661# }
     7662# #endif
     7663#
     7664# #ifdef __CYGWIN__
     7665# #include <cygwin/cygwin_dll.h>
     7666# DECLARE_CYGWIN_DLL( DllMain );
     7667# #endif
     7668# HINSTANCE __hDllInstance_base;
     7669#
     7670# BOOL APIENTRY
     7671# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
     7672# {
     7673#   __hDllInstance_base = hInst;
     7674#   return TRUE;
     7675# }
     7676# /* ltdll.c ends here */
     7677        # This is a source program that is used to create import libraries
     7678        # on Windows for dlls which lack them. Don't remove nor modify the
     7679        # starting and closing comments
     7680# /* impgen.c starts here */
     7681# /*   Copyright (C) 1999-2000 Free Software Foundation, Inc.
     7682#
     7683#  This file is part of GNU libtool.
     7684#
     7685#  This program is free software; you can redistribute it and/or modify
     7686#  it under the terms of the GNU General Public License as published by
     7687#  the Free Software Foundation; either version 2 of the License, or
     7688#  (at your option) any later version.
     7689#
     7690#  This program is distributed in the hope that it will be useful,
     7691#  but WITHOUT ANY WARRANTY; without even the implied warranty of
     7692#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     7693#  GNU General Public License for more details.
     7694#
     7695#  You should have received a copy of the GNU General Public License
     7696#  along with this program; if not, write to the Free Software
     7697#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
     7698#  */
     7699#
     7700# #include <stdio.h>            /* for printf() */
     7701# #include <unistd.h>           /* for open(), lseek(), read() */
     7702# #include <fcntl.h>            /* for O_RDONLY, O_BINARY */
     7703# #include <string.h>           /* for strdup() */
     7704#
     7705# /* O_BINARY isn't required (or even defined sometimes) under Unix */
     7706# #ifndef O_BINARY
     7707# #define O_BINARY 0
     7708# #endif
     7709#
     7710# static unsigned int
     7711# pe_get16 (fd, offset)
     7712#      int fd;
     7713#      int offset;
     7714# {
     7715#   unsigned char b[2];
     7716#   lseek (fd, offset, SEEK_SET);
     7717#   read (fd, b, 2);
     7718#   return b[0] + (b[1]<<8);
     7719# }
     7720#
     7721# static unsigned int
     7722# pe_get32 (fd, offset)
     7723#     int fd;
     7724#     int offset;
     7725# {
     7726#   unsigned char b[4];
     7727#   lseek (fd, offset, SEEK_SET);
     7728#   read (fd, b, 4);
     7729#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
     7730# }
     7731#
     7732# static unsigned int
     7733# pe_as32 (ptr)
     7734#      void *ptr;
     7735# {
     7736#   unsigned char *b = ptr;
     7737#   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
     7738# }
     7739#
     7740# int
     7741# main (argc, argv)
     7742#     int argc;
     7743#     char *argv[];
     7744# {
     7745#     int dll;
     7746#     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
     7747#     unsigned long export_rva, export_size, nsections, secptr, expptr;
     7748#     unsigned long name_rvas, nexp;
     7749#     unsigned char *expdata, *erva;
     7750#     char *filename, *dll_name;
     7751#
     7752#     filename = argv[1];
     7753#
     7754#     dll = open(filename, O_RDONLY|O_BINARY);
     7755#     if (dll < 1)
     7756#       return 1;
     7757#
     7758#     dll_name = filename;
     7759#
     7760#     for (i=0; filename[i]; i++)
     7761#       if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
     7762#           dll_name = filename + i +1;
     7763#
     7764#     pe_header_offset = pe_get32 (dll, 0x3c);
     7765#     opthdr_ofs = pe_header_offset + 4 + 20;
     7766#     num_entries = pe_get32 (dll, opthdr_ofs + 92);
     7767#
     7768#     if (num_entries < 1) /* no exports */
     7769#       return 1;
     7770#
     7771#     export_rva = pe_get32 (dll, opthdr_ofs + 96);
     7772#     export_size = pe_get32 (dll, opthdr_ofs + 100);
     7773#     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
     7774#     secptr = (pe_header_offset + 4 + 20 +
     7775#             pe_get16 (dll, pe_header_offset + 4 + 16));
     7776#
     7777#     expptr = 0;
     7778#     for (i = 0; i < nsections; i++)
     7779#     {
     7780#       char sname[8];
     7781#       unsigned long secptr1 = secptr + 40 * i;
     7782#       unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
     7783#       unsigned long vsize = pe_get32 (dll, secptr1 + 16);
     7784#       unsigned long fptr = pe_get32 (dll, secptr1 + 20);
     7785#       lseek(dll, secptr1, SEEK_SET);
     7786#       read(dll, sname, 8);
     7787#       if (vaddr <= export_rva && vaddr+vsize > export_rva)
     7788#       {
     7789#           expptr = fptr + (export_rva - vaddr);
     7790#           if (export_rva + export_size > vaddr + vsize)
     7791#               export_size = vsize - (export_rva - vaddr);
     7792#           break;
     7793#       }
     7794#     }
     7795#
     7796#     expdata = (unsigned char*)malloc(export_size);
     7797#     lseek (dll, expptr, SEEK_SET);
     7798#     read (dll, expdata, export_size);
     7799#     erva = expdata - export_rva;
     7800#
     7801#     nexp = pe_as32 (expdata+24);
     7802#     name_rvas = pe_as32 (expdata+32);
     7803#
     7804#     printf ("EXPORTS\n");
     7805#     for (i = 0; i<nexp; i++)
     7806#     {
     7807#       unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
     7808#       printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
     7809#     }
     7810#
     7811#     return 0;
     7812# }
     7813# /* impgen.c ends here */
     7814
     7815EOF
     7816    ;;
     7817  esac
     7818
    95547819  # We use sed instead of cat because bash on DJGPP gets confused if
    95557820  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    95567821  # text mode, it properly converts lines to CR/LF.  This bash problem
    95577822  # is reportedly fixed, but why not run on old versions too?
    9558   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
    9559 
    9560   mv -f "$cfgfile" "$ofile" || \
    9561     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
     7823  sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
     7824
     7825  mv -f "${ofile}T" "$ofile" || \
     7826    (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
    95627827  chmod +x "$ofile"
    9563 
    9564 else
    9565   # If there is no Makefile yet, we rely on a make rule to execute
    9566   # `config.status --recheck' to rerun these tests and create the
    9567   # libtool script then.
    9568   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    9569   if test -f "$ltmain_in"; then
    9570     test -f Makefile && make "$ltmain"
    9571   fi
    9572 fi
    9573 
    9574 
    9575 ac_ext=c
    9576 ac_cpp='$CPP $CPPFLAGS'
    9577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    9578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    9579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    9580 
    9581 CC="$lt_save_CC"
    9582 
    9583 
    9584 # Check whether --with-tags or --without-tags was given.
    9585 if test "${with_tags+set}" = set; then
    9586   withval="$with_tags"
    9587   tagnames="$withval"
    9588 fi;
    9589 
    9590 if test -f "$ltmain" && test -n "$tagnames"; then
    9591   if test ! -f "${ofile}"; then
    9592     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
    9593 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
    9594   fi
    9595 
    9596   if test -z "$LTCC"; then
    9597     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
    9598     if test -z "$LTCC"; then
    9599       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
    9600 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
    9601     else
    9602       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
    9603 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
    9604     fi
    9605   fi
    9606 
    9607   # Extract list of available tagged configurations in $ofile.
    9608   # Note that this assumes the entire list is on one line.
    9609   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
    9610 
    9611   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    9612   for tagname in $tagnames; do
    9613     IFS="$lt_save_ifs"
    9614     # Check whether tagname contains only valid characters
    9615     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
    9616     "") ;;
    9617     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
    9618 echo "$as_me: error: invalid tag name: $tagname" >&2;}
    9619    { (exit 1); exit 1; }; }
    9620         ;;
    9621     esac
    9622 
    9623     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
    9624     then
    9625       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
    9626 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
    9627    { (exit 1); exit 1; }; }
    9628     fi
    9629 
    9630     # Update the list of available tags.
    9631     if test -n "$tagname"; then
    9632       echo appending configuration tag \"$tagname\" to $ofile
    9633 
    9634       case $tagname in
    9635       CXX)
    9636         if test -n "$CXX" && test "X$CXX" != "Xno"; then
    9637           ac_ext=cc
    9638 ac_cpp='$CXXCPP $CPPFLAGS'
    9639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    9640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    9641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    9642 
    9643 
    9644 
    9645 
    9646 archive_cmds_need_lc_CXX=no
    9647 allow_undefined_flag_CXX=
    9648 always_export_symbols_CXX=no
    9649 archive_expsym_cmds_CXX=
    9650 export_dynamic_flag_spec_CXX=
    9651 hardcode_direct_CXX=no
    9652 hardcode_libdir_flag_spec_CXX=
    9653 hardcode_libdir_flag_spec_ld_CXX=
    9654 hardcode_libdir_separator_CXX=
    9655 hardcode_minus_L_CXX=no
    9656 hardcode_automatic_CXX=no
    9657 module_cmds_CXX=
    9658 module_expsym_cmds_CXX=
    9659 link_all_deplibs_CXX=unknown
    9660 old_archive_cmds_CXX=$old_archive_cmds
    9661 no_undefined_flag_CXX=
    9662 whole_archive_flag_spec_CXX=
    9663 enable_shared_with_static_runtimes_CXX=no
    9664 
    9665 # Dependencies to place before and after the object being linked:
    9666 predep_objects_CXX=
    9667 postdep_objects_CXX=
    9668 predeps_CXX=
    9669 postdeps_CXX=
    9670 compiler_lib_search_path_CXX=
    9671 
    9672 # Source file extension for C++ test sources.
    9673 ac_ext=cc
    9674 
    9675 # Object file extension for compiled C++ test sources.
    9676 objext=o
    9677 objext_CXX=$objext
    9678 
    9679 # Code to be used in simple compile tests
    9680 lt_simple_compile_test_code="int some_variable = 0;\n"
    9681 
    9682 # Code to be used in simple link tests
    9683 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
    9684 
    9685 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    9686 
    9687 # If no C compiler was specified, use CC.
    9688 LTCC=${LTCC-"$CC"}
    9689 
    9690 # Allow CC to be a program name with arguments.
    9691 compiler=$CC
    9692 
    9693 
    9694 # Allow CC to be a program name with arguments.
    9695 lt_save_CC=$CC
    9696 lt_save_LD=$LD
    9697 lt_save_GCC=$GCC
    9698 GCC=$GXX
    9699 lt_save_with_gnu_ld=$with_gnu_ld
    9700 lt_save_path_LD=$lt_cv_path_LD
    9701 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
    9702   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
    9703 else
    9704   unset lt_cv_prog_gnu_ld
    9705 fi
    9706 if test -n "${lt_cv_path_LDCXX+set}"; then
    9707   lt_cv_path_LD=$lt_cv_path_LDCXX
    9708 else
    9709   unset lt_cv_path_LD
    9710 fi
    9711 test -z "${LDCXX+set}" || LD=$LDCXX
    9712 CC=${CXX-"c++"}
    9713 compiler=$CC
    9714 compiler_CXX=$CC
    9715 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
    9716 
    9717 # We don't want -fno-exception wen compiling C++ code, so set the
    9718 # no_builtin_flag separately
    9719 if test "$GXX" = yes; then
    9720   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    9721 else
    9722   lt_prog_compiler_no_builtin_flag_CXX=
    9723 fi
    9724 
    9725 if test "$GXX" = yes; then
    9726   # Set up default GNU C++ configuration
    9727 
    9728 
    9729 # Check whether --with-gnu-ld or --without-gnu-ld was given.
    9730 if test "${with_gnu_ld+set}" = set; then
    9731   withval="$with_gnu_ld"
    9732   test "$withval" = no || with_gnu_ld=yes
    9733 else
    9734   with_gnu_ld=no
    9735 fi;
    9736 ac_prog=ld
    9737 if test "$GCC" = yes; then
    9738   # Check if gcc -print-prog-name=ld gives a path.
    9739   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
    9740 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
    9741   case $host in
    9742   *-*-mingw*)
    9743     # gcc leaves a trailing carriage return which upsets mingw
    9744     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    9745   *)
    9746     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    9747   esac
    9748   case $ac_prog in
    9749     # Accept absolute paths.
    9750     [\\/]* | ?:[\\/]*)
    9751       re_direlt='/[^/][^/]*/\.\./'
    9752       # Canonicalize the pathname of ld
    9753       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    9754       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    9755         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
    9756       done
    9757       test -z "$LD" && LD="$ac_prog"
    9758       ;;
    9759   "")
    9760     # If it fails, then pretend we aren't using GCC.
    9761     ac_prog=ld
    9762     ;;
    9763   *)
    9764     # If it is relative, then search for the first ld in PATH.
    9765     with_gnu_ld=unknown
    9766     ;;
    9767   esac
    9768 elif test "$with_gnu_ld" = yes; then
    9769   echo "$as_me:$LINENO: checking for GNU ld" >&5
    9770 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
    9771 else
    9772   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
    9773 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
    9774 fi
    9775 if test "${lt_cv_path_LD+set}" = set; then
    9776   echo $ECHO_N "(cached) $ECHO_C" >&6
    9777 else
    9778   if test -z "$LD"; then
    9779   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    9780   for ac_dir in $PATH; do
    9781     IFS="$lt_save_ifs"
    9782     test -z "$ac_dir" && ac_dir=.
    9783     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    9784       lt_cv_path_LD="$ac_dir/$ac_prog"
    9785       # Check to see if the program is GNU ld.  I'd rather use --version,
    9786       # but apparently some GNU ld's only accept -v.
    9787       # Break only if it was the GNU/non-GNU ld that we prefer.
    9788       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    9789       *GNU* | *'with BFD'*)
    9790         test "$with_gnu_ld" != no && break
    9791         ;;
    9792       *)
    9793         test "$with_gnu_ld" != yes && break
    9794         ;;
    9795       esac
    9796     fi
    9797   done
    9798   IFS="$lt_save_ifs"
    9799 else
    9800   lt_cv_path_LD="$LD" # Let the user override the test with a path.
    9801 fi
    9802 fi
    9803 
    9804 LD="$lt_cv_path_LD"
    9805 if test -n "$LD"; then
    9806   echo "$as_me:$LINENO: result: $LD" >&5
    9807 echo "${ECHO_T}$LD" >&6
    9808 else
    9809   echo "$as_me:$LINENO: result: no" >&5
    9810 echo "${ECHO_T}no" >&6
    9811 fi
    9812 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
    9813 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
    9814    { (exit 1); exit 1; }; }
    9815 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
    9816 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
    9817 if test "${lt_cv_prog_gnu_ld+set}" = set; then
    9818   echo $ECHO_N "(cached) $ECHO_C" >&6
    9819 else
    9820   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    9821 case `$LD -v 2>&1 </dev/null` in
    9822 *GNU* | *'with BFD'*)
    9823   lt_cv_prog_gnu_ld=yes
    9824   ;;
    9825 *)
    9826   lt_cv_prog_gnu_ld=no
    9827   ;;
    9828 esac
    9829 fi
    9830 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
    9831 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
    9832 with_gnu_ld=$lt_cv_prog_gnu_ld
    9833 
    9834 
    9835 
    9836   # Check if GNU C++ uses GNU ld as the underlying linker, since the
    9837   # archiving commands below assume that GNU ld is being used.
    9838   if test "$with_gnu_ld" = yes; then
    9839     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9840     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    9841 
    9842     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
    9843     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    9844 
    9845     # If archive_cmds runs LD, not CC, wlarc should be empty
    9846     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    9847     #     investigate it a little bit more. (MM)
    9848     wlarc='${wl}'
    9849 
    9850     # ancient GNU ld didn't support --whole-archive et. al.
    9851     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
    9852         grep 'no-whole-archive' > /dev/null; then
    9853       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    9854     else
    9855       whole_archive_flag_spec_CXX=
    9856     fi
    9857   else
    9858     with_gnu_ld=no
    9859     wlarc=
    9860 
    9861     # A generic and very simple default shared library creation
    9862     # command for GNU C++ for the case where it uses the native
    9863     # linker, instead of GNU ld.  If possible, this setting should
    9864     # overridden to take advantage of the native linker features on
    9865     # the platform it is being used on.
    9866     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    9867   fi
    9868 
    9869   # Commands to make compiler produce verbose output that lists
    9870   # what "hidden" libraries, object files and flags are used when
    9871   # linking a shared library.
    9872   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
    9873 
    9874 else
    9875   GXX=no
    9876   with_gnu_ld=no
    9877   wlarc=
    9878 fi
    9879 
    9880 # PORTME: fill in a description of your system's C++ link characteristics
    9881 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    9882 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    9883 ld_shlibs_CXX=yes
    9884 case $host_os in
    9885   aix3*)
    9886     # FIXME: insert proper C++ library support
    9887     ld_shlibs_CXX=no
    9888     ;;
    9889   aix4* | aix5*)
    9890     if test "$host_cpu" = ia64; then
    9891       # On IA64, the linker does run time linking by default, so we don't
    9892       # have to do anything special.
    9893       aix_use_runtimelinking=no
    9894       exp_sym_flag='-Bexport'
    9895       no_entry_flag=""
    9896     else
    9897       aix_use_runtimelinking=no
    9898 
    9899       # Test if we are trying to use run time linking or normal
    9900       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    9901       # need to do runtime linking.
    9902       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
    9903         for ld_flag in $LDFLAGS; do
    9904           case $ld_flag in
    9905           *-brtl*)
    9906             aix_use_runtimelinking=yes
    9907             break
    9908             ;;
    9909           esac
    9910         done
    9911       esac
    9912 
    9913       exp_sym_flag='-bexport'
    9914       no_entry_flag='-bnoentry'
    9915     fi
    9916 
    9917     # When large executables or shared objects are built, AIX ld can
    9918     # have problems creating the table of contents.  If linking a library
    9919     # or program results in "error TOC overflow" add -mminimal-toc to
    9920     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    9921     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    9922 
    9923     archive_cmds_CXX=''
    9924     hardcode_direct_CXX=yes
    9925     hardcode_libdir_separator_CXX=':'
    9926     link_all_deplibs_CXX=yes
    9927 
    9928     if test "$GXX" = yes; then
    9929       case $host_os in aix4.012|aix4.012.*)
    9930       # We only want to do this on AIX 4.2 and lower, the check
    9931       # below for broken collect2 doesn't work under 4.3+
    9932         collect2name=`${CC} -print-prog-name=collect2`
    9933         if test -f "$collect2name" && \
    9934            strings "$collect2name" | grep resolve_lib_name >/dev/null
    9935         then
    9936           # We have reworked collect2
    9937           hardcode_direct_CXX=yes
    9938         else
    9939           # We have old collect2
    9940           hardcode_direct_CXX=unsupported
    9941           # It fails to find uninstalled libraries when the uninstalled
    9942           # path is not listed in the libpath.  Setting hardcode_minus_L
    9943           # to unsupported forces relinking
    9944           hardcode_minus_L_CXX=yes
    9945           hardcode_libdir_flag_spec_CXX='-L$libdir'
    9946           hardcode_libdir_separator_CXX=
    9947         fi
    9948       esac
    9949       shared_flag='-shared'
    9950     else
    9951       # not using gcc
    9952       if test "$host_cpu" = ia64; then
    9953         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    9954         # chokes on -Wl,-G. The following line is correct:
    9955         shared_flag='-G'
    9956       else
    9957         if test "$aix_use_runtimelinking" = yes; then
    9958           shared_flag='${wl}-G'
    9959         else
    9960           shared_flag='${wl}-bM:SRE'
    9961         fi
    9962       fi
    9963     fi
    9964 
    9965     # It seems that -bexpall does not export symbols beginning with
    9966     # underscore (_), so it is better to generate a list of symbols to export.
    9967     always_export_symbols_CXX=yes
    9968     if test "$aix_use_runtimelinking" = yes; then
    9969       # Warning - without using the other runtime loading flags (-brtl),
    9970       # -berok will link without error, but may produce a broken library.
    9971       allow_undefined_flag_CXX='-berok'
    9972       # Determine the default libpath from the value encoded in an empty executable.
    9973       cat >conftest.$ac_ext <<_ACEOF
    9974 /* confdefs.h.  */
    9975 _ACEOF
    9976 cat confdefs.h >>conftest.$ac_ext
    9977 cat >>conftest.$ac_ext <<_ACEOF
    9978 /* end confdefs.h.  */
    9979 
    9980 int
    9981 main ()
    9982 {
    9983 
    9984   ;
    9985   return 0;
    9986 }
    9987 _ACEOF
    9988 rm -f conftest.$ac_objext conftest$ac_exeext
    9989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9990   (eval $ac_link) 2>conftest.er1
    9991   ac_status=$?
    9992   grep -v '^ *+' conftest.er1 >conftest.err
    9993   rm -f conftest.er1
    9994   cat conftest.err >&5
    9995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9996   (exit $ac_status); } &&
    9997          { ac_try='test -z "$ac_cxx_werror_flag"
    9998                          || test ! -s conftest.err'
    9999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10000   (eval $ac_try) 2>&5
    10001   ac_status=$?
    10002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10003   (exit $ac_status); }; } &&
    10004          { ac_try='test -s conftest$ac_exeext'
    10005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10006   (eval $ac_try) 2>&5
    10007   ac_status=$?
    10008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10009   (exit $ac_status); }; }; then
    10010 
    10011 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    10012 }'`
    10013 # Check for a 64-bit object if we didn't find anything.
    10014 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; }
    10015 }'`; fi
    10016 else
    10017   echo "$as_me: failed program was:" >&5
    10018 sed 's/^/| /' conftest.$ac_ext >&5
    10019 
    10020 fi
    10021 rm -f conftest.err conftest.$ac_objext \
    10022       conftest$ac_exeext conftest.$ac_ext
    10023 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    10024 
    10025       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
    10026 
    10027       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    10028      else
    10029       if test "$host_cpu" = ia64; then
    10030         hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
    10031         allow_undefined_flag_CXX="-z nodefs"
    10032         archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
    10033       else
    10034         # Determine the default libpath from the value encoded in an empty executable.
    10035         cat >conftest.$ac_ext <<_ACEOF
    10036 /* confdefs.h.  */
    10037 _ACEOF
    10038 cat confdefs.h >>conftest.$ac_ext
    10039 cat >>conftest.$ac_ext <<_ACEOF
    10040 /* end confdefs.h.  */
    10041 
    10042 int
    10043 main ()
    10044 {
    10045 
    10046   ;
    10047   return 0;
    10048 }
    10049 _ACEOF
    10050 rm -f conftest.$ac_objext conftest$ac_exeext
    10051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10052   (eval $ac_link) 2>conftest.er1
    10053   ac_status=$?
    10054   grep -v '^ *+' conftest.er1 >conftest.err
    10055   rm -f conftest.er1
    10056   cat conftest.err >&5
    10057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10058   (exit $ac_status); } &&
    10059          { ac_try='test -z "$ac_cxx_werror_flag"
    10060                          || test ! -s conftest.err'
    10061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10062   (eval $ac_try) 2>&5
    10063   ac_status=$?
    10064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10065   (exit $ac_status); }; } &&
    10066          { ac_try='test -s conftest$ac_exeext'
    10067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10068   (eval $ac_try) 2>&5
    10069   ac_status=$?
    10070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10071   (exit $ac_status); }; }; then
    10072 
    10073 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    10074 }'`
    10075 # Check for a 64-bit object if we didn't find anything.
    10076 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; }
    10077 }'`; fi
    10078 else
    10079   echo "$as_me: failed program was:" >&5
    10080 sed 's/^/| /' conftest.$ac_ext >&5
    10081 
    10082 fi
    10083 rm -f conftest.err conftest.$ac_objext \
    10084       conftest$ac_exeext conftest.$ac_ext
    10085 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    10086 
    10087         hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
    10088         # Warning - without using the other run time loading flags,
    10089         # -berok will link without error, but may produce a broken library.
    10090         no_undefined_flag_CXX=' ${wl}-bernotok'
    10091         allow_undefined_flag_CXX=' ${wl}-berok'
    10092         # -bexpall does not export symbols beginning with underscore (_)
    10093         always_export_symbols_CXX=yes
    10094         # Exported symbols can be pulled into shared objects from archives
    10095         whole_archive_flag_spec_CXX=' '
    10096         archive_cmds_need_lc_CXX=yes
    10097         # This is similar to how AIX traditionally builds it's shared libraries.
    10098         archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    10099       fi
    10100     fi
    10101     ;;
    10102   chorus*)
    10103     case $cc_basename in
    10104       *)
    10105         # FIXME: insert proper C++ library support
    10106         ld_shlibs_CXX=no
    10107         ;;
    10108     esac
    10109     ;;
    10110 
    10111   cygwin* | mingw* | pw32*)
    10112     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
    10113     # as there is no search path for DLLs.
    10114     hardcode_libdir_flag_spec_CXX='-L$libdir'
    10115     allow_undefined_flag_CXX=unsupported
    10116     always_export_symbols_CXX=no
    10117     enable_shared_with_static_runtimes_CXX=yes
    10118 
    10119     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    10120       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    10121       # If the export-symbols file already is a .def file (1st line
    10122       # is EXPORTS), use it as is; otherwise, prepend...
    10123       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    10124         cp $export_symbols $output_objdir/$soname.def;
    10125       else
    10126         echo EXPORTS > $output_objdir/$soname.def;
    10127         cat $export_symbols >> $output_objdir/$soname.def;
    10128       fi~
    10129       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    10130     else
    10131       ld_shlibs_CXX=no
    10132     fi
    10133   ;;
    10134 
    10135   darwin* | rhapsody*)
    10136   if test "$GXX" = yes; then
    10137     archive_cmds_need_lc_CXX=no
    10138     case "$host_os" in
    10139     rhapsody* | darwin1.[012])
    10140       allow_undefined_flag_CXX='-undefined suppress'
    10141       ;;
    10142     *) # Darwin 1.3 on
    10143       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    10144         allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
    10145       else
    10146         case ${MACOSX_DEPLOYMENT_TARGET} in
    10147           10.[012])
    10148             allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
    10149             ;;
    10150           10.*)
    10151             allow_undefined_flag_CXX='-undefined dynamic_lookup'
    10152             ;;
    10153         esac
    10154       fi
    10155       ;;
    10156     esac
    10157     lt_int_apple_cc_single_mod=no
    10158     output_verbose_link_cmd='echo'
    10159     if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
    10160       lt_int_apple_cc_single_mod=yes
    10161     fi
    10162     if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    10163       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    10164     else
    10165       archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    10166     fi
    10167     module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    10168 
    10169     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    10170     if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    10171       archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    10172     else
    10173       archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    10174     fi
    10175     module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    10176     hardcode_direct_CXX=no
    10177     hardcode_automatic_CXX=yes
    10178     hardcode_shlibpath_var_CXX=unsupported
    10179     whole_archive_flag_spec_CXX='-all_load $convenience'
    10180     link_all_deplibs_CXX=yes
    10181   else
    10182     ld_shlibs_CXX=no
    10183   fi
    10184     ;;
    10185 
    10186   dgux*)
    10187     case $cc_basename in
    10188       ec++)
    10189         # FIXME: insert proper C++ library support
    10190         ld_shlibs_CXX=no
    10191         ;;
    10192       ghcx)
    10193         # Green Hills C++ Compiler
    10194         # FIXME: insert proper C++ library support
    10195         ld_shlibs_CXX=no
    10196         ;;
    10197       *)
    10198         # FIXME: insert proper C++ library support
    10199         ld_shlibs_CXX=no
    10200         ;;
    10201     esac
    10202     ;;
    10203   freebsd12*)
    10204     # C++ shared libraries reported to be fairly broken before switch to ELF
    10205     ld_shlibs_CXX=no
    10206     ;;
    10207   freebsd-elf*)
    10208     archive_cmds_need_lc_CXX=no
    10209     ;;
    10210   freebsd* | kfreebsd*-gnu)
    10211     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    10212     # conventions
    10213     ld_shlibs_CXX=yes
    10214     ;;
    10215   gnu*)
    10216     ;;
    10217   hpux9*)
    10218     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    10219     hardcode_libdir_separator_CXX=:
    10220     export_dynamic_flag_spec_CXX='${wl}-E'
    10221     hardcode_direct_CXX=yes
    10222     hardcode_minus_L_CXX=yes # Not in the search PATH,
    10223                                 # but as the default
    10224                                 # location of the library.
    10225 
    10226     case $cc_basename in
    10227     CC)
    10228       # FIXME: insert proper C++ library support
    10229       ld_shlibs_CXX=no
    10230       ;;
    10231     aCC)
    10232       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    10233       # Commands to make compiler produce verbose output that lists
    10234       # what "hidden" libraries, object files and flags are used when
    10235       # linking a shared library.
    10236       #
    10237       # There doesn't appear to be a way to prevent this compiler from
    10238       # explicitly linking system object files so we need to strip them
    10239       # from the output so that they don't get included in the library
    10240       # dependencies.
    10241       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10242       ;;
    10243     *)
    10244       if test "$GXX" = yes; then
    10245         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    10246       else
    10247         # FIXME: insert proper C++ library support
    10248         ld_shlibs_CXX=no
    10249       fi
    10250       ;;
    10251     esac
    10252     ;;
    10253   hpux10*|hpux11*)
    10254     if test $with_gnu_ld = no; then
    10255       case "$host_cpu" in
    10256       hppa*64*)
    10257         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    10258         hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
    10259         hardcode_libdir_separator_CXX=:
    10260         ;;
    10261       ia64*)
    10262         hardcode_libdir_flag_spec_CXX='-L$libdir'
    10263         ;;
    10264       *)
    10265         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
    10266         hardcode_libdir_separator_CXX=:
    10267         export_dynamic_flag_spec_CXX='${wl}-E'
    10268         ;;
    10269       esac
    10270     fi
    10271     case "$host_cpu" in
    10272     hppa*64*)
    10273       hardcode_direct_CXX=no
    10274       hardcode_shlibpath_var_CXX=no
    10275       ;;
    10276     ia64*)
    10277       hardcode_direct_CXX=no
    10278       hardcode_shlibpath_var_CXX=no
    10279       hardcode_minus_L_CXX=yes # Not in the search PATH,
    10280                                               # but as the default
    10281                                               # location of the library.
    10282       ;;
    10283     *)
    10284       hardcode_direct_CXX=yes
    10285       hardcode_minus_L_CXX=yes # Not in the search PATH,
    10286                                               # but as the default
    10287                                               # location of the library.
    10288       ;;
    10289     esac
    10290 
    10291     case $cc_basename in
    10292       CC)
    10293         # FIXME: insert proper C++ library support
    10294         ld_shlibs_CXX=no
    10295         ;;
    10296       aCC)
    10297         case "$host_cpu" in
    10298         hppa*64*|ia64*)
    10299           archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
    10300           ;;
    10301         *)
    10302           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    10303           ;;
    10304         esac
    10305         # Commands to make compiler produce verbose output that lists
    10306         # what "hidden" libraries, object files and flags are used when
    10307         # linking a shared library.
    10308         #
    10309         # There doesn't appear to be a way to prevent this compiler from
    10310         # explicitly linking system object files so we need to strip them
    10311         # from the output so that they don't get included in the library
    10312         # dependencies.
    10313         output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10314         ;;
    10315       *)
    10316         if test "$GXX" = yes; then
    10317           if test $with_gnu_ld = no; then
    10318             case "$host_cpu" in
    10319             ia64*|hppa*64*)
    10320               archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
    10321               ;;
    10322             *)
    10323               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    10324               ;;
    10325             esac
    10326           fi
    10327         else
    10328           # FIXME: insert proper C++ library support
    10329           ld_shlibs_CXX=no
    10330         fi
    10331         ;;
    10332     esac
    10333     ;;
    10334   irix5* | irix6*)
    10335     case $cc_basename in
    10336       CC)
    10337         # SGI C++
    10338         archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
    10339 
    10340         # Archives containing C++ object files must be created using
    10341         # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
    10342         # necessary to make sure instantiated templates are included
    10343         # in the archive.
    10344         old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
    10345         ;;
    10346       *)
    10347         if test "$GXX" = yes; then
    10348           if test "$with_gnu_ld" = no; then
    10349             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
    10350           else
    10351             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
    10352           fi
    10353         fi
    10354         link_all_deplibs_CXX=yes
    10355         ;;
    10356     esac
    10357     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    10358     hardcode_libdir_separator_CXX=:
    10359     ;;
    10360   linux*)
    10361     case $cc_basename in
    10362       KCC)
    10363         # Kuck and Associates, Inc. (KAI) C++ Compiler
    10364 
    10365         # KCC will only create a shared library if the output file
    10366         # ends with ".so" (or ".sl" for HP-UX), so rename the library
    10367         # to its proper name (with version) after linking.
    10368         archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    10369         archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
    10370         # Commands to make compiler produce verbose output that lists
    10371         # what "hidden" libraries, object files and flags are used when
    10372         # linking a shared library.
    10373         #
    10374         # There doesn't appear to be a way to prevent this compiler from
    10375         # explicitly linking system object files so we need to strip them
    10376         # from the output so that they don't get included in the library
    10377         # dependencies.
    10378         output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10379 
    10380         hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
    10381         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    10382 
    10383         # Archives containing C++ object files must be created using
    10384         # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    10385         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    10386         ;;
    10387       icpc)
    10388         # Intel C++
    10389         with_gnu_ld=yes
    10390         archive_cmds_need_lc_CXX=no
    10391         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    10392         archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    10393         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    10394         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    10395         whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
    10396         ;;
    10397       cxx)
    10398         # Compaq C++
    10399         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    10400         archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
    10401 
    10402         runpath_var=LD_RUN_PATH
    10403         hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    10404         hardcode_libdir_separator_CXX=:
    10405 
    10406         # Commands to make compiler produce verbose output that lists
    10407         # what "hidden" libraries, object files and flags are used when
    10408         # linking a shared library.
    10409         #
    10410         # There doesn't appear to be a way to prevent this compiler from
    10411         # explicitly linking system object files so we need to strip them
    10412         # from the output so that they don't get included in the library
    10413         # dependencies.
    10414         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10415         ;;
    10416     esac
    10417     ;;
    10418   lynxos*)
    10419     # FIXME: insert proper C++ library support
    10420     ld_shlibs_CXX=no
    10421     ;;
    10422   m88k*)
    10423     # FIXME: insert proper C++ library support
    10424     ld_shlibs_CXX=no
    10425     ;;
    10426   mvs*)
    10427     case $cc_basename in
    10428       cxx)
    10429         # FIXME: insert proper C++ library support
    10430         ld_shlibs_CXX=no
    10431         ;;
    10432       *)
    10433         # FIXME: insert proper C++ library support
    10434         ld_shlibs_CXX=no
    10435         ;;
    10436     esac
    10437     ;;
    10438   netbsd*)
    10439     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    10440       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
    10441       wlarc=
    10442       hardcode_libdir_flag_spec_CXX='-R$libdir'
    10443       hardcode_direct_CXX=yes
    10444       hardcode_shlibpath_var_CXX=no
    10445     fi
    10446     # Workaround some broken pre-1.5 toolchains
    10447     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
    10448     ;;
    10449   osf3*)
    10450     case $cc_basename in
    10451       KCC)
    10452         # Kuck and Associates, Inc. (KAI) C++ Compiler
    10453 
    10454         # KCC will only create a shared library if the output file
    10455         # ends with ".so" (or ".sl" for HP-UX), so rename the library
    10456         # to its proper name (with version) after linking.
    10457         archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    10458 
    10459         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    10460         hardcode_libdir_separator_CXX=:
    10461 
    10462         # Archives containing C++ object files must be created using
    10463         # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    10464         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    10465 
    10466         ;;
    10467       RCC)
    10468         # Rational C++ 2.4.1
    10469         # FIXME: insert proper C++ library support
    10470         ld_shlibs_CXX=no
    10471         ;;
    10472       cxx)
    10473         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    10474         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
    10475 
    10476         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    10477         hardcode_libdir_separator_CXX=:
    10478 
    10479         # Commands to make compiler produce verbose output that lists
    10480         # what "hidden" libraries, object files and flags are used when
    10481         # linking a shared library.
    10482         #
    10483         # There doesn't appear to be a way to prevent this compiler from
    10484         # explicitly linking system object files so we need to strip them
    10485         # from the output so that they don't get included in the library
    10486         # dependencies.
    10487         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10488         ;;
    10489       *)
    10490         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    10491           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    10492           archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
    10493 
    10494           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    10495           hardcode_libdir_separator_CXX=:
    10496 
    10497           # Commands to make compiler produce verbose output that lists
    10498           # what "hidden" libraries, object files and flags are used when
    10499           # linking a shared library.
    10500           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
    10501 
    10502         else
    10503           # FIXME: insert proper C++ library support
    10504           ld_shlibs_CXX=no
    10505         fi
    10506         ;;
    10507     esac
    10508     ;;
    10509   osf4* | osf5*)
    10510     case $cc_basename in
    10511       KCC)
    10512         # Kuck and Associates, Inc. (KAI) C++ Compiler
    10513 
    10514         # KCC will only create a shared library if the output file
    10515         # ends with ".so" (or ".sl" for HP-UX), so rename the library
    10516         # to its proper name (with version) after linking.
    10517         archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    10518 
    10519         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    10520         hardcode_libdir_separator_CXX=:
    10521 
    10522         # Archives containing C++ object files must be created using
    10523         # the KAI C++ compiler.
    10524         old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
    10525         ;;
    10526       RCC)
    10527         # Rational C++ 2.4.1
    10528         # FIXME: insert proper C++ library support
    10529         ld_shlibs_CXX=no
    10530         ;;
    10531       cxx)
    10532         allow_undefined_flag_CXX=' -expect_unresolved \*'
    10533         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
    10534         archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    10535           echo "-hidden">> $lib.exp~
    10536           $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
    10537           $rm $lib.exp'
    10538 
    10539         hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    10540         hardcode_libdir_separator_CXX=:
    10541 
    10542         # Commands to make compiler produce verbose output that lists
    10543         # what "hidden" libraries, object files and flags are used when
    10544         # linking a shared library.
    10545         #
    10546         # There doesn't appear to be a way to prevent this compiler from
    10547         # explicitly linking system object files so we need to strip them
    10548         # from the output so that they don't get included in the library
    10549         # dependencies.
    10550         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10551         ;;
    10552       *)
    10553         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    10554           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    10555          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
    10556 
    10557           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    10558           hardcode_libdir_separator_CXX=:
    10559 
    10560           # Commands to make compiler produce verbose output that lists
    10561           # what "hidden" libraries, object files and flags are used when
    10562           # linking a shared library.
    10563           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
    10564 
    10565         else
    10566           # FIXME: insert proper C++ library support
    10567           ld_shlibs_CXX=no
    10568         fi
    10569         ;;
    10570     esac
    10571     ;;
    10572   psos*)
    10573     # FIXME: insert proper C++ library support
    10574     ld_shlibs_CXX=no
    10575     ;;
    10576   sco*)
    10577     archive_cmds_need_lc_CXX=no
    10578     case $cc_basename in
    10579       CC)
    10580         # FIXME: insert proper C++ library support
    10581         ld_shlibs_CXX=no
    10582         ;;
    10583       *)
    10584         # FIXME: insert proper C++ library support
    10585         ld_shlibs_CXX=no
    10586         ;;
    10587     esac
    10588     ;;
    10589   sunos4*)
    10590     case $cc_basename in
    10591       CC)
    10592         # Sun C++ 4.x
    10593         # FIXME: insert proper C++ library support
    10594         ld_shlibs_CXX=no
    10595         ;;
    10596       lcc)
    10597         # Lucid
    10598         # FIXME: insert proper C++ library support
    10599         ld_shlibs_CXX=no
    10600         ;;
    10601       *)
    10602         # FIXME: insert proper C++ library support
    10603         ld_shlibs_CXX=no
    10604         ;;
    10605     esac
    10606     ;;
    10607   solaris*)
    10608     case $cc_basename in
    10609       CC)
    10610         # Sun C++ 4.2, 5.x and Centerline C++
    10611         no_undefined_flag_CXX=' -zdefs'
    10612         archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    10613         archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    10614         $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
    10615 
    10616         hardcode_libdir_flag_spec_CXX='-R$libdir'
    10617         hardcode_shlibpath_var_CXX=no
    10618         case $host_os in
    10619           solaris2.0-5 | solaris2.0-5.*) ;;
    10620           *)
    10621             # The C++ compiler is used as linker so we must use $wl
    10622             # flag to pass the commands to the underlying system
    10623             # linker.
    10624             # Supported since Solaris 2.6 (maybe 2.5.1?)
    10625             whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
    10626             ;;
    10627         esac
    10628         link_all_deplibs_CXX=yes
    10629 
    10630         # Commands to make compiler produce verbose output that lists
    10631         # what "hidden" libraries, object files and flags are used when
    10632         # linking a shared library.
    10633         #
    10634         # There doesn't appear to be a way to prevent this compiler from
    10635         # explicitly linking system object files so we need to strip them
    10636         # from the output so that they don't get included in the library
    10637         # dependencies.
    10638         output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
    10639 
    10640         # Archives containing C++ object files must be created using
    10641         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    10642         # necessary to make sure instantiated templates are included
    10643         # in the archive.
    10644         old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    10645         ;;
    10646       gcx)
    10647         # Green Hills C++ Compiler
    10648         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    10649 
    10650         # The C++ compiler must be used to create the archive.
    10651         old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
    10652         ;;
    10653       *)
    10654         # GNU C++ compiler with Solaris linker
    10655         if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    10656           no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
    10657           if $CC --version | grep -v '^2\.7' > /dev/null; then
    10658             archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    10659             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    10660                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
    10661 
    10662             # Commands to make compiler produce verbose output that lists
    10663             # what "hidden" libraries, object files and flags are used when
    10664             # linking a shared library.
    10665             output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
    10666           else
    10667             # g++ 2.7 appears to require `-G' NOT `-shared' on this
    10668             # platform.
    10669             archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
    10670             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    10671                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
    10672 
    10673             # Commands to make compiler produce verbose output that lists
    10674             # what "hidden" libraries, object files and flags are used when
    10675             # linking a shared library.
    10676             output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
    10677           fi
    10678 
    10679           hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
    10680         fi
    10681         ;;
    10682     esac
    10683     ;;
    10684   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
    10685     archive_cmds_need_lc_CXX=no
    10686     ;;
    10687   tandem*)
    10688     case $cc_basename in
    10689       NCC)
    10690         # NonStop-UX NCC 3.20
    10691         # FIXME: insert proper C++ library support
    10692         ld_shlibs_CXX=no
    10693         ;;
    10694       *)
    10695         # FIXME: insert proper C++ library support
    10696         ld_shlibs_CXX=no
    10697         ;;
    10698     esac
    10699     ;;
    10700   vxworks*)
    10701     # FIXME: insert proper C++ library support
    10702     ld_shlibs_CXX=no
    10703     ;;
    10704   *)
    10705     # FIXME: insert proper C++ library support
    10706     ld_shlibs_CXX=no
    10707     ;;
    10708 esac
    10709 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
    10710 echo "${ECHO_T}$ld_shlibs_CXX" >&6
    10711 test "$ld_shlibs_CXX" = no && can_build_shared=no
    10712 
    10713 GCC_CXX="$GXX"
    10714 LD_CXX="$LD"
    10715 
    10716 
    10717 cat > conftest.$ac_ext <<EOF
    10718 class Foo
    10719 {
    10720 public:
    10721   Foo (void) { a = 0; }
    10722 private:
    10723   int a;
    10724 };
    10725 EOF
    10726 
    10727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10728   (eval $ac_compile) 2>&5
    10729   ac_status=$?
    10730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10731   (exit $ac_status); }; then
    10732   # Parse the compiler output and extract the necessary
    10733   # objects, libraries and library flags.
    10734 
    10735   # Sentinel used to keep track of whether or not we are before
    10736   # the conftest object file.
    10737   pre_test_object_deps_done=no
    10738 
    10739   # The `*' in the case matches for architectures that use `case' in
    10740   # $output_verbose_cmd can trigger glob expansion during the loop
    10741   # eval without this substitution.
    10742   output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
    10743 
    10744   for p in `eval $output_verbose_link_cmd`; do
    10745     case $p in
    10746 
    10747     -L* | -R* | -l*)
    10748        # Some compilers place space between "-{L,R}" and the path.
    10749        # Remove the space.
    10750        if test $p = "-L" \
    10751           || test $p = "-R"; then
    10752          prev=$p
    10753          continue
    10754        else
    10755          prev=
    10756        fi
    10757 
    10758        if test "$pre_test_object_deps_done" = no; then
    10759          case $p in
    10760          -L* | -R*)
    10761            # Internal compiler library paths should come after those
    10762            # provided the user.  The postdeps already come after the
    10763            # user supplied libs so there is no need to process them.
    10764            if test -z "$compiler_lib_search_path_CXX"; then
    10765              compiler_lib_search_path_CXX="${prev}${p}"
    10766            else
    10767              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
    10768            fi
    10769            ;;
    10770          # The "-l" case would never come before the object being
    10771          # linked, so don't bother handling this case.
    10772          esac
    10773        else
    10774          if test -z "$postdeps_CXX"; then
    10775            postdeps_CXX="${prev}${p}"
    10776          else
    10777            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
    10778          fi
    10779        fi
    10780        ;;
    10781 
    10782     *.$objext)
    10783        # This assumes that the test object file only shows up
    10784        # once in the compiler output.
    10785        if test "$p" = "conftest.$objext"; then
    10786          pre_test_object_deps_done=yes
    10787          continue
    10788        fi
    10789 
    10790        if test "$pre_test_object_deps_done" = no; then
    10791          if test -z "$predep_objects_CXX"; then
    10792            predep_objects_CXX="$p"
    10793          else
    10794            predep_objects_CXX="$predep_objects_CXX $p"
    10795          fi
    10796        else
    10797          if test -z "$postdep_objects_CXX"; then
    10798            postdep_objects_CXX="$p"
    10799          else
    10800            postdep_objects_CXX="$postdep_objects_CXX $p"
    10801          fi
    10802        fi
    10803        ;;
    10804 
    10805     *) ;; # Ignore the rest.
    10806 
    10807     esac
    10808   done
    10809 
    10810   # Clean up.
    10811   rm -f a.out a.exe
    10812 else
    10813   echo "libtool.m4: error: problem compiling CXX test program"
    10814 fi
    10815 
    10816 $rm -f confest.$objext
    10817 
    10818 case " $postdeps_CXX " in
    10819 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
    10820 esac
    10821 
    10822 lt_prog_compiler_wl_CXX=
    10823 lt_prog_compiler_pic_CXX=
    10824 lt_prog_compiler_static_CXX=
    10825 
    10826 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    10827 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    10828 
    10829   # C++ specific cases for pic, static, wl, etc.
    10830   if test "$GXX" = yes; then
    10831     lt_prog_compiler_wl_CXX='-Wl,'
    10832     lt_prog_compiler_static_CXX='-static'
    10833 
    10834     case $host_os in
    10835     aix*)
    10836       # All AIX code is PIC.
    10837       if test "$host_cpu" = ia64; then
    10838         # AIX 5 now supports IA64 processor
    10839         lt_prog_compiler_static_CXX='-Bstatic'
    10840       fi
    10841       ;;
    10842     amigaos*)
    10843       # FIXME: we need at least 68020 code to build shared libraries, but
    10844       # adding the `-m68020' flag to GCC prevents building anything better,
    10845       # like `-m68040'.
    10846       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    10847       ;;
    10848     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    10849       # PIC is the default for these OSes.
    10850       ;;
    10851     mingw* | os2* | pw32*)
    10852       # This hack is so that the source file can tell whether it is being
    10853       # built for inclusion in a dll (and should export symbols for example).
    10854       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    10855       ;;
    10856     darwin* | rhapsody*)
    10857       # PIC is the default on this platform
    10858       # Common symbols not allowed in MH_DYLIB files
    10859       lt_prog_compiler_pic_CXX='-fno-common'
    10860       ;;
    10861     *djgpp*)
    10862       # DJGPP does not support shared libraries at all
    10863       lt_prog_compiler_pic_CXX=
    10864       ;;
    10865     sysv4*MP*)
    10866       if test -d /usr/nec; then
    10867         lt_prog_compiler_pic_CXX=-Kconform_pic
    10868       fi
    10869       ;;
    10870     hpux*)
    10871       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    10872       # not for PA HP-UX.
    10873       case "$host_cpu" in
    10874       hppa*64*|ia64*)
    10875         ;;
    10876       *)
    10877         lt_prog_compiler_pic_CXX='-fPIC'
    10878         ;;
    10879       esac
    10880       ;;
    10881     *)
    10882       lt_prog_compiler_pic_CXX='-fPIC'
    10883       ;;
    10884     esac
    10885   else
    10886     case $host_os in
    10887       aix4* | aix5*)
    10888         # All AIX code is PIC.
    10889         if test "$host_cpu" = ia64; then
    10890           # AIX 5 now supports IA64 processor
    10891           lt_prog_compiler_static_CXX='-Bstatic'
    10892         else
    10893           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
    10894         fi
    10895         ;;
    10896       chorus*)
    10897         case $cc_basename in
    10898         cxch68)
    10899           # Green Hills C++ Compiler
    10900           # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
    10901           ;;
    10902         esac
    10903         ;;
    10904       dgux*)
    10905         case $cc_basename in
    10906           ec++)
    10907             lt_prog_compiler_pic_CXX='-KPIC'
    10908             ;;
    10909           ghcx)
    10910             # Green Hills C++ Compiler
    10911             lt_prog_compiler_pic_CXX='-pic'
    10912             ;;
    10913           *)
    10914             ;;
    10915         esac
    10916         ;;
    10917       freebsd* | kfreebsd*-gnu)
    10918         # FreeBSD uses GNU C++
    10919         ;;
    10920       hpux9* | hpux10* | hpux11*)
    10921         case $cc_basename in
    10922           CC)
    10923             lt_prog_compiler_wl_CXX='-Wl,'
    10924             lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
    10925             if test "$host_cpu" != ia64; then
    10926               lt_prog_compiler_pic_CXX='+Z'
    10927             fi
    10928             ;;
    10929           aCC)
    10930             lt_prog_compiler_wl_CXX='-Wl,'
    10931             lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
    10932             case "$host_cpu" in
    10933             hppa*64*|ia64*)
    10934               # +Z the default
    10935               ;;
    10936             *)
    10937               lt_prog_compiler_pic_CXX='+Z'
    10938               ;;
    10939             esac
    10940             ;;
    10941           *)
    10942             ;;
    10943         esac
    10944         ;;
    10945       irix5* | irix6* | nonstopux*)
    10946         case $cc_basename in
    10947           CC)
    10948             lt_prog_compiler_wl_CXX='-Wl,'
    10949             lt_prog_compiler_static_CXX='-non_shared'
    10950             # CC pic flag -KPIC is the default.
    10951             ;;
    10952           *)
    10953             ;;
    10954         esac
    10955         ;;
    10956       linux*)
    10957         case $cc_basename in
    10958           KCC)
    10959             # KAI C++ Compiler
    10960             lt_prog_compiler_wl_CXX='--backend -Wl,'
    10961             lt_prog_compiler_pic_CXX='-fPIC'
    10962             ;;
    10963           icpc)
    10964             # Intel C++
    10965             lt_prog_compiler_wl_CXX='-Wl,'
    10966             lt_prog_compiler_pic_CXX='-KPIC'
    10967             lt_prog_compiler_static_CXX='-static'
    10968             ;;
    10969           cxx)
    10970             # Compaq C++
    10971             # Make sure the PIC flag is empty.  It appears that all Alpha
    10972             # Linux and Compaq Tru64 Unix objects are PIC.
    10973             lt_prog_compiler_pic_CXX=
    10974             lt_prog_compiler_static_CXX='-non_shared'
    10975             ;;
    10976           *)
    10977             ;;
    10978         esac
    10979         ;;
    10980       lynxos*)
    10981         ;;
    10982       m88k*)
    10983         ;;
    10984       mvs*)
    10985         case $cc_basename in
    10986           cxx)
    10987             lt_prog_compiler_pic_CXX='-W c,exportall'
    10988             ;;
    10989           *)
    10990             ;;
    10991         esac
    10992         ;;
    10993       netbsd*)
    10994         ;;
    10995       osf3* | osf4* | osf5*)
    10996         case $cc_basename in
    10997           KCC)
    10998             lt_prog_compiler_wl_CXX='--backend -Wl,'
    10999             ;;
    11000           RCC)
    11001             # Rational C++ 2.4.1
    11002             lt_prog_compiler_pic_CXX='-pic'
    11003             ;;
    11004           cxx)
    11005             # Digital/Compaq C++
    11006             lt_prog_compiler_wl_CXX='-Wl,'
    11007             # Make sure the PIC flag is empty.  It appears that all Alpha
    11008             # Linux and Compaq Tru64 Unix objects are PIC.
    11009             lt_prog_compiler_pic_CXX=
    11010             lt_prog_compiler_static_CXX='-non_shared'
    11011             ;;
    11012           *)
    11013             ;;
    11014         esac
    11015         ;;
    11016       psos*)
    11017         ;;
    11018       sco*)
    11019         case $cc_basename in
    11020           CC)
    11021             lt_prog_compiler_pic_CXX='-fPIC'
    11022             ;;
    11023           *)
    11024             ;;
    11025         esac
    11026         ;;
    11027       solaris*)
    11028         case $cc_basename in
    11029           CC)
    11030             # Sun C++ 4.2, 5.x and Centerline C++
    11031             lt_prog_compiler_pic_CXX='-KPIC'
    11032             lt_prog_compiler_static_CXX='-Bstatic'
    11033             lt_prog_compiler_wl_CXX='-Qoption ld '
    11034             ;;
    11035           gcx)
    11036             # Green Hills C++ Compiler
    11037             lt_prog_compiler_pic_CXX='-PIC'
    11038             ;;
    11039           *)
    11040             ;;
    11041         esac
    11042         ;;
    11043       sunos4*)
    11044         case $cc_basename in
    11045           CC)
    11046             # Sun C++ 4.x
    11047             lt_prog_compiler_pic_CXX='-pic'
    11048             lt_prog_compiler_static_CXX='-Bstatic'
    11049             ;;
    11050           lcc)
    11051             # Lucid
    11052             lt_prog_compiler_pic_CXX='-pic'
    11053             ;;
    11054           *)
    11055             ;;
    11056         esac
    11057         ;;
    11058       tandem*)
    11059         case $cc_basename in
    11060           NCC)
    11061             # NonStop-UX NCC 3.20
    11062             lt_prog_compiler_pic_CXX='-KPIC'
    11063             ;;
    11064           *)
    11065             ;;
    11066         esac
    11067         ;;
    11068       unixware*)
    11069         ;;
    11070       vxworks*)
    11071         ;;
    11072       *)
    11073         lt_prog_compiler_can_build_shared_CXX=no
    11074         ;;
    11075     esac
    11076   fi
    11077 
    11078 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
    11079 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
    11080 
    11081 #
    11082 # Check to make sure the PIC flag actually works.
    11083 #
    11084 if test -n "$lt_prog_compiler_pic_CXX"; then
    11085 
    11086 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
    11087 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
    11088 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
    11089   echo $ECHO_N "(cached) $ECHO_C" >&6
    11090 else
    11091   lt_prog_compiler_pic_works_CXX=no
    11092   ac_outfile=conftest.$ac_objext
    11093    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    11094    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
    11095    # Insert the option either (1) after the last *FLAGS variable, or
    11096    # (2) before a word containing "conftest.", or (3) at the end.
    11097    # Note that $ac_compile itself does not contain backslashes and begins
    11098    # with a dollar sign (not a hyphen), so the echo should work correctly.
    11099    # The option is referenced via a variable to avoid confusing sed.
    11100    lt_compile=`echo "$ac_compile" | $SED \
    11101    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    11102    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    11103    -e 's:$: $lt_compiler_flag:'`
    11104    (eval echo "\"\$as_me:11104: $lt_compile\"" >&5)
    11105    (eval "$lt_compile" 2>conftest.err)
    11106    ac_status=$?
    11107    cat conftest.err >&5
    11108    echo "$as_me:11108: \$? = $ac_status" >&5
    11109    if (exit $ac_status) && test -s "$ac_outfile"; then
    11110      # The compiler can only warn and ignore the option if not recognized
    11111      # So say no if there are warnings
    11112      if test ! -s conftest.err; then
    11113        lt_prog_compiler_pic_works_CXX=yes
    11114      fi
    11115    fi
    11116    $rm conftest*
    11117 
    11118 fi
    11119 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
    11120 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
    11121 
    11122 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
    11123     case $lt_prog_compiler_pic_CXX in
    11124      "" | " "*) ;;
    11125      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
    11126      esac
    11127 else
    11128     lt_prog_compiler_pic_CXX=
    11129      lt_prog_compiler_can_build_shared_CXX=no
    11130 fi
    11131 
    11132 fi
    11133 case "$host_os" in
    11134   # For platforms which do not support PIC, -DPIC is meaningless:
    11135   *djgpp*)
    11136     lt_prog_compiler_pic_CXX=
    11137     ;;
    11138   *)
    11139     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
    11140     ;;
    11141 esac
    11142 
    11143 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    11144 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    11145 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
    11146   echo $ECHO_N "(cached) $ECHO_C" >&6
    11147 else
    11148   lt_cv_prog_compiler_c_o_CXX=no
    11149    $rm -r conftest 2>/dev/null
    11150    mkdir conftest
    11151    cd conftest
    11152    mkdir out
    11153    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    11154 
    11155    lt_compiler_flag="-o out/conftest2.$ac_objext"
    11156    # Insert the option either (1) after the last *FLAGS variable, or
    11157    # (2) before a word containing "conftest.", or (3) at the end.
    11158    # Note that $ac_compile itself does not contain backslashes and begins
    11159    # with a dollar sign (not a hyphen), so the echo should work correctly.
    11160    lt_compile=`echo "$ac_compile" | $SED \
    11161    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    11162    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    11163    -e 's:$: $lt_compiler_flag:'`
    11164    (eval echo "\"\$as_me:11164: $lt_compile\"" >&5)
    11165    (eval "$lt_compile" 2>out/conftest.err)
    11166    ac_status=$?
    11167    cat out/conftest.err >&5
    11168    echo "$as_me:11168: \$? = $ac_status" >&5
    11169    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    11170    then
    11171      # The compiler can only warn and ignore the option if not recognized
    11172      # So say no if there are warnings
    11173      if test ! -s out/conftest.err; then
    11174        lt_cv_prog_compiler_c_o_CXX=yes
    11175      fi
    11176    fi
    11177    chmod u+w .
    11178    $rm conftest*
    11179    # SGI C++ compiler will create directory out/ii_files/ for
    11180    # template instantiation
    11181    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    11182    $rm out/* && rmdir out
    11183    cd ..
    11184    rmdir conftest
    11185    $rm conftest*
    11186 
    11187 fi
    11188 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    11189 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
    11190 
    11191 
    11192 hard_links="nottested"
    11193 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
    11194   # do not overwrite the value of need_locks provided by the user
    11195   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    11196 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
    11197   hard_links=yes
    11198   $rm conftest*
    11199   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    11200   touch conftest.a
    11201   ln conftest.a conftest.b 2>&5 || hard_links=no
    11202   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    11203   echo "$as_me:$LINENO: result: $hard_links" >&5
    11204 echo "${ECHO_T}$hard_links" >&6
    11205   if test "$hard_links" = no; then
    11206     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    11207 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    11208     need_locks=warn
    11209   fi
    11210 else
    11211   need_locks=no
    11212 fi
    11213 
    11214 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    11215 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    11216 
    11217   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    11218   case $host_os in
    11219   aix4* | aix5*)
    11220     # If we're using GNU nm, then we don't want the "-C" option.
    11221     # -C means demangle to AIX nm, but means don't demangle with GNU nm
    11222     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    11223       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    11224     else
    11225       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    11226     fi
    11227     ;;
    11228   pw32*)
    11229     export_symbols_cmds_CXX="$ltdll_cmds"
    11230   ;;
    11231   cygwin* | mingw*)
    11232     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    11233   ;;
    11234   *)
    11235     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    11236   ;;
    11237   esac
    11238 
    11239 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
    11240 echo "${ECHO_T}$ld_shlibs_CXX" >&6
    11241 test "$ld_shlibs_CXX" = no && can_build_shared=no
    11242 
    11243 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    11244 if test "$GCC" = yes; then
    11245   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    11246 fi
    11247 
    11248 #
    11249 # Do we need to explicitly link libc?
    11250 #
    11251 case "x$archive_cmds_need_lc_CXX" in
    11252 x|xyes)
    11253   # Assume -lc should be added
    11254   archive_cmds_need_lc_CXX=yes
    11255 
    11256   if test "$enable_shared" = yes && test "$GCC" = yes; then
    11257     case $archive_cmds_CXX in
    11258     *'~'*)
    11259       # FIXME: we may have to deal with multi-command sequences.
    11260       ;;
    11261     '$CC '*)
    11262       # Test whether the compiler implicitly links with -lc since on some
    11263       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    11264       # to ld, don't add -lc before -lgcc.
    11265       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    11266 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    11267       $rm conftest*
    11268       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    11269 
    11270       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11271   (eval $ac_compile) 2>&5
    11272   ac_status=$?
    11273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11274   (exit $ac_status); } 2>conftest.err; then
    11275         soname=conftest
    11276         lib=conftest
    11277         libobjs=conftest.$ac_objext
    11278         deplibs=
    11279         wl=$lt_prog_compiler_wl_CXX
    11280         compiler_flags=-v
    11281         linker_flags=-v
    11282         verstring=
    11283         output_objdir=.
    11284         libname=conftest
    11285         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
    11286         allow_undefined_flag_CXX=
    11287         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    11288   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
    11289   ac_status=$?
    11290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11291   (exit $ac_status); }
    11292         then
    11293           archive_cmds_need_lc_CXX=no
    11294         else
    11295           archive_cmds_need_lc_CXX=yes
    11296         fi
    11297         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
    11298       else
    11299         cat conftest.err 1>&5
    11300       fi
    11301       $rm conftest*
    11302       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
    11303 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
    11304       ;;
    11305     esac
    11306   fi
    11307   ;;
    11308 esac
    11309 
    11310 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    11311 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
    11312 library_names_spec=
    11313 libname_spec='lib$name'
    11314 soname_spec=
    11315 shrext_cmds=".so"
    11316 postinstall_cmds=
    11317 postuninstall_cmds=
    11318 finish_cmds=
    11319 finish_eval=
    11320 shlibpath_var=
    11321 shlibpath_overrides_runpath=unknown
    11322 version_type=none
    11323 dynamic_linker="$host_os ld.so"
    11324 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    11325 if test "$GCC" = yes; then
    11326   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    11327   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    11328     # if the path contains ";" then we assume it to be the separator
    11329     # otherwise default to the standard path separator (i.e. ":") - it is
    11330     # assumed that no part of a normal pathname contains ";" but that should
    11331     # okay in the real world where ";" in dirpaths is itself problematic.
    11332     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    11333   else
    11334     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    11335   fi
    11336 else
    11337   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    11338 fi
    11339 need_lib_prefix=unknown
    11340 hardcode_into_libs=no
    11341 
    11342 # when you set need_version to no, make sure it does not cause -set_version
    11343 # flags to be left without arguments
    11344 need_version=unknown
    11345 
    11346 case $host_os in
    11347 aix3*)
    11348   version_type=linux
    11349   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    11350   shlibpath_var=LIBPATH
    11351 
    11352   # AIX 3 has no versioning support, so we append a major version to the name.
    11353   soname_spec='${libname}${release}${shared_ext}$major'
    11354   ;;
    11355 
    11356 aix4* | aix5*)
    11357   version_type=linux
    11358   need_lib_prefix=no
    11359   need_version=no
    11360   hardcode_into_libs=yes
    11361   if test "$host_cpu" = ia64; then
    11362     # AIX 5 supports IA64
    11363     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
    11364     shlibpath_var=LD_LIBRARY_PATH
    11365   else
    11366     # With GCC up to 2.95.x, collect2 would create an import file
    11367     # for dependence libraries.  The import file would start with
    11368     # the line `#! .'.  This would cause the generated library to
    11369     # depend on `.', always an invalid library.  This was fixed in
    11370     # development snapshots of GCC prior to 3.0.
    11371     case $host_os in
    11372       aix4 | aix4.[01] | aix4.[01].*)
    11373       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    11374            echo ' yes '
    11375            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
    11376         :
    11377       else
    11378         can_build_shared=no
    11379       fi
    11380       ;;
    11381     esac
    11382     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    11383     # soname into executable. Probably we can add versioning support to
    11384     # collect2, so additional links can be useful in future.
    11385     if test "$aix_use_runtimelinking" = yes; then
    11386       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    11387       # instead of lib<name>.a to let people know that these are not
    11388       # typical AIX shared libraries.
    11389       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11390     else
    11391       # We preserve .a as extension for shared libraries through AIX4.2
    11392       # and later when we are not doing run time linking.
    11393       library_names_spec='${libname}${release}.a $libname.a'
    11394       soname_spec='${libname}${release}${shared_ext}$major'
    11395     fi
    11396     shlibpath_var=LIBPATH
    11397   fi
    11398   ;;
    11399 
    11400 amigaos*)
    11401   library_names_spec='$libname.ixlibrary $libname.a'
    11402   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    11403   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'
    11404   ;;
    11405 
    11406 beos*)
    11407   library_names_spec='${libname}${shared_ext}'
    11408   dynamic_linker="$host_os ld.so"
    11409   shlibpath_var=LIBRARY_PATH
    11410   ;;
    11411 
    11412 bsdi4*)
    11413   version_type=linux
    11414   need_version=no
    11415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11416   soname_spec='${libname}${release}${shared_ext}$major'
    11417   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    11418   shlibpath_var=LD_LIBRARY_PATH
    11419   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    11420   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    11421   # the default ld.so.conf also contains /usr/contrib/lib and
    11422   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    11423   # libtool to hard-code these into programs
    11424   ;;
    11425 
    11426 cygwin* | mingw* | pw32*)
    11427   version_type=windows
    11428   shrext_cmds=".dll"
    11429   need_version=no
    11430   need_lib_prefix=no
    11431 
    11432   case $GCC,$host_os in
    11433   yes,cygwin* | yes,mingw* | yes,pw32*)
    11434     library_names_spec='$libname.dll.a'
    11435     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    11436     postinstall_cmds='base_file=`basename \${file}`~
    11437       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
    11438       dldir=$destdir/`dirname \$dlpath`~
    11439       test -d \$dldir || mkdir -p \$dldir~
    11440       $install_prog $dir/$dlname \$dldir/$dlname'
    11441     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    11442       dlpath=$dir/\$dldll~
    11443        $rm \$dlpath'
    11444     shlibpath_overrides_runpath=yes
    11445 
    11446     case $host_os in
    11447     cygwin*)
    11448       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    11449       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    11450       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
    11451       ;;
    11452     mingw*)
    11453       # MinGW DLLs use traditional 'lib' prefix
    11454       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    11455       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    11456       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    11457         # It is most probably a Windows format PATH printed by
    11458         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    11459         # path with ; separators, and with drive letters. We can handle the
    11460         # drive letters (cygwin fileutils understands them), so leave them,
    11461         # especially as we might pass files found there to a mingw objdump,
    11462         # which wouldn't understand a cygwinified path. Ahh.
    11463         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    11464       else
    11465         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    11466       fi
    11467       ;;
    11468     pw32*)
    11469       # pw32 DLLs use 'pw' prefix rather than 'lib'
    11470       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
    11471       ;;
    11472     esac
    11473     ;;
    11474 
    11475   *)
    11476     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
    11477     ;;
    11478   esac
    11479   dynamic_linker='Win32 ld.exe'
    11480   # FIXME: first we should search . and the directory the executable is in
    11481   shlibpath_var=PATH
    11482   ;;
    11483 
    11484 darwin* | rhapsody*)
    11485   dynamic_linker="$host_os dyld"
    11486   version_type=darwin
    11487   need_lib_prefix=no
    11488   need_version=no
    11489   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    11490   soname_spec='${libname}${release}${major}$shared_ext'
    11491   shlibpath_overrides_runpath=yes
    11492   shlibpath_var=DYLD_LIBRARY_PATH
    11493   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
    11494   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    11495   if test "$GCC" = yes; then
    11496     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    11497   else
    11498     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    11499   fi
    11500   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    11501   ;;
    11502 
    11503 dgux*)
    11504   version_type=linux
    11505   need_lib_prefix=no
    11506   need_version=no
    11507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    11508   soname_spec='${libname}${release}${shared_ext}$major'
    11509   shlibpath_var=LD_LIBRARY_PATH
    11510   ;;
    11511 
    11512 freebsd1*)
    11513   dynamic_linker=no
    11514   ;;
    11515 
    11516 kfreebsd*-gnu)
    11517   version_type=linux
    11518   need_lib_prefix=no
    11519   need_version=no
    11520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11521   soname_spec='${libname}${release}${shared_ext}$major'
    11522   shlibpath_var=LD_LIBRARY_PATH
    11523   shlibpath_overrides_runpath=no
    11524   hardcode_into_libs=yes
    11525   dynamic_linker='GNU ld.so'
    11526   ;;
    11527 
    11528 freebsd*)
    11529   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
    11530   version_type=freebsd-$objformat
    11531   case $version_type in
    11532     freebsd-elf*)
    11533       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    11534       need_version=no
    11535       need_lib_prefix=no
    11536       ;;
    11537     freebsd-*)
    11538       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
    11539       need_version=yes
    11540       ;;
    11541   esac
    11542   shlibpath_var=LD_LIBRARY_PATH
    11543   case $host_os in
    11544   freebsd2*)
    11545     shlibpath_overrides_runpath=yes
    11546     ;;
    11547   freebsd3.01* | freebsdelf3.01*)
    11548     shlibpath_overrides_runpath=yes
    11549     hardcode_into_libs=yes
    11550     ;;
    11551   *) # from 3.2 on
    11552     shlibpath_overrides_runpath=no
    11553     hardcode_into_libs=yes
    11554     ;;
    11555   esac
    11556   ;;
    11557 
    11558 gnu*)
    11559   version_type=linux
    11560   need_lib_prefix=no
    11561   need_version=no
    11562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    11563   soname_spec='${libname}${release}${shared_ext}$major'
    11564   shlibpath_var=LD_LIBRARY_PATH
    11565   hardcode_into_libs=yes
    11566   ;;
    11567 
    11568 hpux9* | hpux10* | hpux11*)
    11569   # Give a soname corresponding to the major version so that dld.sl refuses to
    11570   # link against other versions.
    11571   version_type=sunos
    11572   need_lib_prefix=no
    11573   need_version=no
    11574   case "$host_cpu" in
    11575   ia64*)
    11576     shrext_cmds='.so'
    11577     hardcode_into_libs=yes
    11578     dynamic_linker="$host_os dld.so"
    11579     shlibpath_var=LD_LIBRARY_PATH
    11580     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11581     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11582     soname_spec='${libname}${release}${shared_ext}$major'
    11583     if test "X$HPUX_IA64_MODE" = X32; then
    11584       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    11585     else
    11586       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    11587     fi
    11588     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11589     ;;
    11590    hppa*64*)
    11591      shrext_cmds='.sl'
    11592      hardcode_into_libs=yes
    11593      dynamic_linker="$host_os dld.sl"
    11594      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    11595      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11596      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11597      soname_spec='${libname}${release}${shared_ext}$major'
    11598      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    11599      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11600      ;;
    11601    *)
    11602     shrext_cmds='.sl'
    11603     dynamic_linker="$host_os dld.sl"
    11604     shlibpath_var=SHLIB_PATH
    11605     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    11606     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11607     soname_spec='${libname}${release}${shared_ext}$major'
    11608     ;;
    11609   esac
    11610   # HP-UX runs *really* slowly unless shared libraries are mode 555.
    11611   postinstall_cmds='chmod 555 $lib'
    11612   ;;
    11613 
    11614 irix5* | irix6* | nonstopux*)
    11615   case $host_os in
    11616     nonstopux*) version_type=nonstopux ;;
    11617     *)
    11618         if test "$lt_cv_prog_gnu_ld" = yes; then
    11619                 version_type=linux
    11620         else
    11621                 version_type=irix
    11622         fi ;;
    11623   esac
    11624   need_lib_prefix=no
    11625   need_version=no
    11626   soname_spec='${libname}${release}${shared_ext}$major'
    11627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
    11628   case $host_os in
    11629   irix5* | nonstopux*)
    11630     libsuff= shlibsuff=
    11631     ;;
    11632   *)
    11633     case $LD in # libtool.m4 will add one of these switches to LD
    11634     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    11635       libsuff= shlibsuff= libmagic=32-bit;;
    11636     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    11637       libsuff=32 shlibsuff=N32 libmagic=N32;;
    11638     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    11639       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    11640     *) libsuff= shlibsuff= libmagic=never-match;;
    11641     esac
    11642     ;;
    11643   esac
    11644   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    11645   shlibpath_overrides_runpath=no
    11646   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    11647   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    11648   hardcode_into_libs=yes
    11649   ;;
    11650 
    11651 # No shared lib support for Linux oldld, aout, or coff.
    11652 linux*oldld* | linux*aout* | linux*coff*)
    11653   dynamic_linker=no
    11654   ;;
    11655 
    11656 # This must be Linux ELF.
    11657 linux*)
    11658   version_type=linux
    11659   need_lib_prefix=no
    11660   need_version=no
    11661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11662   soname_spec='${libname}${release}${shared_ext}$major'
    11663   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    11664   shlibpath_var=LD_LIBRARY_PATH
    11665   shlibpath_overrides_runpath=no
    11666   # This implies no fast_install, which is unacceptable.
    11667   # Some rework will be needed to allow for fast_install
    11668   # before this can be enabled.
    11669   hardcode_into_libs=yes
    11670 
    11671   # find out which ABI we are using
    11672   libsuff=
    11673   case "$host_cpu" in
    11674   x86_64*|s390x*|powerpc64*)
    11675     echo '#line 11675 "configure"' > conftest.$ac_ext
    11676     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    11677   (eval $ac_compile) 2>&5
    11678   ac_status=$?
    11679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11680   (exit $ac_status); }; then
    11681       case `/usr/bin/file conftest.$ac_objext` in
    11682       *64-bit*)
    11683         libsuff=64
    11684         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    11685         ;;
    11686       esac
    11687     fi
    11688     rm -rf conftest*
    11689     ;;
    11690   esac
    11691 
    11692   # Append ld.so.conf contents to the search path
    11693   if test -f /etc/ld.so.conf; then
    11694     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
    11695     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    11696   fi
    11697 
    11698   # We used to test for /lib/ld.so.1 and disable shared libraries on
    11699   # powerpc, because MkLinux only supported shared libraries with the
    11700   # GNU dynamic linker.  Since this was broken with cross compilers,
    11701   # most powerpc-linux boxes support dynamic linking these days and
    11702   # people can always --disable-shared, the test was removed, and we
    11703   # assume the GNU/Linux dynamic linker is in use.
    11704   dynamic_linker='GNU/Linux ld.so'
    11705   ;;
    11706 
    11707 knetbsd*-gnu)
    11708   version_type=linux
    11709   need_lib_prefix=no
    11710   need_version=no
    11711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11712   soname_spec='${libname}${release}${shared_ext}$major'
    11713   shlibpath_var=LD_LIBRARY_PATH
    11714   shlibpath_overrides_runpath=no
    11715   hardcode_into_libs=yes
    11716   dynamic_linker='GNU ld.so'
    11717   ;;
    11718 
    11719 netbsd*)
    11720   version_type=sunos
    11721   need_lib_prefix=no
    11722   need_version=no
    11723   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    11724     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    11725     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    11726     dynamic_linker='NetBSD (a.out) ld.so'
    11727   else
    11728     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11729     soname_spec='${libname}${release}${shared_ext}$major'
    11730     dynamic_linker='NetBSD ld.elf_so'
    11731   fi
    11732   shlibpath_var=LD_LIBRARY_PATH
    11733   shlibpath_overrides_runpath=yes
    11734   hardcode_into_libs=yes
    11735   ;;
    11736 
    11737 newsos6)
    11738   version_type=linux
    11739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11740   shlibpath_var=LD_LIBRARY_PATH
    11741   shlibpath_overrides_runpath=yes
    11742   ;;
    11743 
    11744 nto-qnx*)
    11745   version_type=linux
    11746   need_lib_prefix=no
    11747   need_version=no
    11748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11749   soname_spec='${libname}${release}${shared_ext}$major'
    11750   shlibpath_var=LD_LIBRARY_PATH
    11751   shlibpath_overrides_runpath=yes
    11752   ;;
    11753 
    11754 openbsd*)
    11755   version_type=sunos
    11756   need_lib_prefix=no
    11757   need_version=yes
    11758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    11759   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    11760   shlibpath_var=LD_LIBRARY_PATH
    11761   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    11762     case $host_os in
    11763       openbsd2.[89] | openbsd2.[89].*)
    11764         shlibpath_overrides_runpath=no
    11765         ;;
    11766       *)
    11767         shlibpath_overrides_runpath=yes
    11768         ;;
    11769       esac
    11770   else
    11771     shlibpath_overrides_runpath=yes
    11772   fi
    11773   ;;
    11774 
    11775 os2*)
    11776   libname_spec='$name'
    11777   shrext_cmds=".dll"
    11778   need_lib_prefix=no
    11779   library_names_spec='$libname${shared_ext} $libname.a'
    11780   dynamic_linker='OS/2 ld.exe'
    11781   shlibpath_var=LIBPATH
    11782   ;;
    11783 
    11784 osf3* | osf4* | osf5*)
    11785   version_type=osf
    11786   need_lib_prefix=no
    11787   need_version=no
    11788   soname_spec='${libname}${release}${shared_ext}$major'
    11789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11790   shlibpath_var=LD_LIBRARY_PATH
    11791   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    11792   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    11793   ;;
    11794 
    11795 sco3.2v5*)
    11796   version_type=osf
    11797   soname_spec='${libname}${release}${shared_ext}$major'
    11798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11799   shlibpath_var=LD_LIBRARY_PATH
    11800   ;;
    11801 
    11802 solaris*)
    11803   version_type=linux
    11804   need_lib_prefix=no
    11805   need_version=no
    11806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11807   soname_spec='${libname}${release}${shared_ext}$major'
    11808   shlibpath_var=LD_LIBRARY_PATH
    11809   shlibpath_overrides_runpath=yes
    11810   hardcode_into_libs=yes
    11811   # ldd complains unless libraries are executable
    11812   postinstall_cmds='chmod +x $lib'
    11813   ;;
    11814 
    11815 sunos4*)
    11816   version_type=sunos
    11817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    11818   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    11819   shlibpath_var=LD_LIBRARY_PATH
    11820   shlibpath_overrides_runpath=yes
    11821   if test "$with_gnu_ld" = yes; then
    11822     need_lib_prefix=no
    11823   fi
    11824   need_version=yes
    11825   ;;
    11826 
    11827 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    11828   version_type=linux
    11829   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11830   soname_spec='${libname}${release}${shared_ext}$major'
    11831   shlibpath_var=LD_LIBRARY_PATH
    11832   case $host_vendor in
    11833     sni)
    11834       shlibpath_overrides_runpath=no
    11835       need_lib_prefix=no
    11836       export_dynamic_flag_spec='${wl}-Blargedynsym'
    11837       runpath_var=LD_RUN_PATH
    11838       ;;
    11839     siemens)
    11840       need_lib_prefix=no
    11841       ;;
    11842     motorola)
    11843       need_lib_prefix=no
    11844       need_version=no
    11845       shlibpath_overrides_runpath=no
    11846       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    11847       ;;
    11848   esac
    11849   ;;
    11850 
    11851 sysv4*MP*)
    11852   if test -d /usr/nec ;then
    11853     version_type=linux
    11854     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    11855     soname_spec='$libname${shared_ext}.$major'
    11856     shlibpath_var=LD_LIBRARY_PATH
    11857   fi
    11858   ;;
    11859 
    11860 uts4*)
    11861   version_type=linux
    11862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11863   soname_spec='${libname}${release}${shared_ext}$major'
    11864   shlibpath_var=LD_LIBRARY_PATH
    11865   ;;
    11866 
    11867 *)
    11868   dynamic_linker=no
    11869   ;;
    11870 esac
    11871 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    11872 echo "${ECHO_T}$dynamic_linker" >&6
    11873 test "$dynamic_linker" = no && can_build_shared=no
    11874 
    11875 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    11876 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
    11877 hardcode_action_CXX=
    11878 if test -n "$hardcode_libdir_flag_spec_CXX" || \
    11879    test -n "$runpath_var CXX" || \
    11880    test "X$hardcode_automatic_CXX"="Xyes" ; then
    11881 
    11882   # We can hardcode non-existant directories.
    11883   if test "$hardcode_direct_CXX" != no &&
    11884      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    11885      # have to relink, otherwise we might link with an installed library
    11886      # when we should be linking with a yet-to-be-installed one
    11887      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
    11888      test "$hardcode_minus_L_CXX" != no; then
    11889     # Linking always hardcodes the temporary library directory.
    11890     hardcode_action_CXX=relink
    11891   else
    11892     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    11893     hardcode_action_CXX=immediate
    11894   fi
    11895 else
    11896   # We cannot hardcode anything, or else we can only hardcode existing
    11897   # directories.
    11898   hardcode_action_CXX=unsupported
    11899 fi
    11900 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
    11901 echo "${ECHO_T}$hardcode_action_CXX" >&6
    11902 
    11903 if test "$hardcode_action_CXX" = relink; then
    11904   # Fast installation is not supported
    11905   enable_fast_install=no
    11906 elif test "$shlibpath_overrides_runpath" = yes ||
    11907      test "$enable_shared" = no; then
    11908   # Fast installation is not necessary
    11909   enable_fast_install=needless
    11910 fi
    11911 
    11912 striplib=
    11913 old_striplib=
    11914 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
    11915 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
    11916 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
    11917   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    11918   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    11919   echo "$as_me:$LINENO: result: yes" >&5
    11920 echo "${ECHO_T}yes" >&6
    11921 else
    11922 # FIXME - insert some real tests, host_os isn't really good enough
    11923   case $host_os in
    11924    darwin*)
    11925        if test -n "$STRIP" ; then
    11926          striplib="$STRIP -x"
    11927          echo "$as_me:$LINENO: result: yes" >&5
    11928 echo "${ECHO_T}yes" >&6
    11929        else
    11930   echo "$as_me:$LINENO: result: no" >&5
    11931 echo "${ECHO_T}no" >&6
    11932 fi
    11933        ;;
    11934    *)
    11935   echo "$as_me:$LINENO: result: no" >&5
    11936 echo "${ECHO_T}no" >&6
    11937     ;;
    11938   esac
    11939 fi
    11940 
    11941 if test "x$enable_dlopen" != xyes; then
    11942   enable_dlopen=unknown
    11943   enable_dlopen_self=unknown
    11944   enable_dlopen_self_static=unknown
    11945 else
    11946   lt_cv_dlopen=no
    11947   lt_cv_dlopen_libs=
    11948 
    11949   case $host_os in
    11950   beos*)
    11951     lt_cv_dlopen="load_add_on"
    11952     lt_cv_dlopen_libs=
    11953     lt_cv_dlopen_self=yes
    11954     ;;
    11955 
    11956   mingw* | pw32*)
    11957     lt_cv_dlopen="LoadLibrary"
    11958     lt_cv_dlopen_libs=
    11959    ;;
    11960 
    11961   cygwin*)
    11962     lt_cv_dlopen="dlopen"
    11963     lt_cv_dlopen_libs=
    11964    ;;
    11965 
    11966   darwin*)
    11967   # if libdl is installed we need to link against it
    11968     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    11969 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    11970 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    11971   echo $ECHO_N "(cached) $ECHO_C" >&6
    11972 else
    11973   ac_check_lib_save_LIBS=$LIBS
    11974 LIBS="-ldl  $LIBS"
    11975 cat >conftest.$ac_ext <<_ACEOF
    11976 /* confdefs.h.  */
    11977 _ACEOF
    11978 cat confdefs.h >>conftest.$ac_ext
    11979 cat >>conftest.$ac_ext <<_ACEOF
    11980 /* end confdefs.h.  */
    11981 
    11982 /* Override any gcc2 internal prototype to avoid an error.  */
    11983 #ifdef __cplusplus
    11984 extern "C"
    11985 #endif
    11986 /* We use char because int might match the return type of a gcc2
    11987    builtin and then its argument prototype would still apply.  */
    11988 char dlopen ();
    11989 int
    11990 main ()
    11991 {
    11992 dlopen ();
    11993   ;
    11994   return 0;
    11995 }
    11996 _ACEOF
    11997 rm -f conftest.$ac_objext conftest$ac_exeext
    11998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11999   (eval $ac_link) 2>conftest.er1
    12000   ac_status=$?
    12001   grep -v '^ *+' conftest.er1 >conftest.err
    12002   rm -f conftest.er1
    12003   cat conftest.err >&5
    12004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12005   (exit $ac_status); } &&
    12006          { ac_try='test -z "$ac_cxx_werror_flag"
    12007                          || test ! -s conftest.err'
    12008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12009   (eval $ac_try) 2>&5
    12010   ac_status=$?
    12011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12012   (exit $ac_status); }; } &&
    12013          { ac_try='test -s conftest$ac_exeext'
    12014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12015   (eval $ac_try) 2>&5
    12016   ac_status=$?
    12017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12018   (exit $ac_status); }; }; then
    12019   ac_cv_lib_dl_dlopen=yes
    12020 else
    12021   echo "$as_me: failed program was:" >&5
    12022 sed 's/^/| /' conftest.$ac_ext >&5
    12023 
    12024 ac_cv_lib_dl_dlopen=no
    12025 fi
    12026 rm -f conftest.err conftest.$ac_objext \
    12027       conftest$ac_exeext conftest.$ac_ext
    12028 LIBS=$ac_check_lib_save_LIBS
    12029 fi
    12030 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    12031 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    12032 if test $ac_cv_lib_dl_dlopen = yes; then
    12033   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    12034 else
    12035 
    12036     lt_cv_dlopen="dyld"
    12037     lt_cv_dlopen_libs=
    12038     lt_cv_dlopen_self=yes
    12039 
    12040 fi
    12041 
    12042    ;;
    12043 
    12044   *)
    12045     echo "$as_me:$LINENO: checking for shl_load" >&5
    12046 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
    12047 if test "${ac_cv_func_shl_load+set}" = set; then
    12048   echo $ECHO_N "(cached) $ECHO_C" >&6
    12049 else
    12050   cat >conftest.$ac_ext <<_ACEOF
    12051 /* confdefs.h.  */
    12052 _ACEOF
    12053 cat confdefs.h >>conftest.$ac_ext
    12054 cat >>conftest.$ac_ext <<_ACEOF
    12055 /* end confdefs.h.  */
    12056 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
    12057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12058 #define shl_load innocuous_shl_load
    12059 
    12060 /* System header to define __stub macros and hopefully few prototypes,
    12061     which can conflict with char shl_load (); below.
    12062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12063     <limits.h> exists even on freestanding compilers.  */
    12064 
    12065 #ifdef __STDC__
    12066 # include <limits.h>
    12067 #else
    12068 # include <assert.h>
    12069 #endif
    12070 
    12071 #undef shl_load
    12072 
    12073 /* Override any gcc2 internal prototype to avoid an error.  */
    12074 #ifdef __cplusplus
    12075 extern "C"
    12076 {
    12077 #endif
    12078 /* We use char because int might match the return type of a gcc2
    12079    builtin and then its argument prototype would still apply.  */
    12080 char shl_load ();
    12081 /* The GNU C library defines this for functions which it implements
    12082     to always fail with ENOSYS.  Some functions are actually named
    12083     something starting with __ and the normal name is an alias.  */
    12084 #if defined (__stub_shl_load) || defined (__stub___shl_load)
    12085 choke me
    12086 #else
    12087 char (*f) () = shl_load;
    12088 #endif
    12089 #ifdef __cplusplus
    12090 }
    12091 #endif
    12092 
    12093 int
    12094 main ()
    12095 {
    12096 return f != shl_load;
    12097   ;
    12098   return 0;
    12099 }
    12100 _ACEOF
    12101 rm -f conftest.$ac_objext conftest$ac_exeext
    12102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12103   (eval $ac_link) 2>conftest.er1
    12104   ac_status=$?
    12105   grep -v '^ *+' conftest.er1 >conftest.err
    12106   rm -f conftest.er1
    12107   cat conftest.err >&5
    12108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12109   (exit $ac_status); } &&
    12110          { ac_try='test -z "$ac_cxx_werror_flag"
    12111                          || test ! -s conftest.err'
    12112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12113   (eval $ac_try) 2>&5
    12114   ac_status=$?
    12115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12116   (exit $ac_status); }; } &&
    12117          { ac_try='test -s conftest$ac_exeext'
    12118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12119   (eval $ac_try) 2>&5
    12120   ac_status=$?
    12121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12122   (exit $ac_status); }; }; then
    12123   ac_cv_func_shl_load=yes
    12124 else
    12125   echo "$as_me: failed program was:" >&5
    12126 sed 's/^/| /' conftest.$ac_ext >&5
    12127 
    12128 ac_cv_func_shl_load=no
    12129 fi
    12130 rm -f conftest.err conftest.$ac_objext \
    12131       conftest$ac_exeext conftest.$ac_ext
    12132 fi
    12133 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
    12134 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
    12135 if test $ac_cv_func_shl_load = yes; then
    12136   lt_cv_dlopen="shl_load"
    12137 else
    12138   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    12139 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
    12140 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    12141   echo $ECHO_N "(cached) $ECHO_C" >&6
    12142 else
    12143   ac_check_lib_save_LIBS=$LIBS
    12144 LIBS="-ldld  $LIBS"
    12145 cat >conftest.$ac_ext <<_ACEOF
    12146 /* confdefs.h.  */
    12147 _ACEOF
    12148 cat confdefs.h >>conftest.$ac_ext
    12149 cat >>conftest.$ac_ext <<_ACEOF
    12150 /* end confdefs.h.  */
    12151 
    12152 /* Override any gcc2 internal prototype to avoid an error.  */
    12153 #ifdef __cplusplus
    12154 extern "C"
    12155 #endif
    12156 /* We use char because int might match the return type of a gcc2
    12157    builtin and then its argument prototype would still apply.  */
    12158 char shl_load ();
    12159 int
    12160 main ()
    12161 {
    12162 shl_load ();
    12163   ;
    12164   return 0;
    12165 }
    12166 _ACEOF
    12167 rm -f conftest.$ac_objext conftest$ac_exeext
    12168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12169   (eval $ac_link) 2>conftest.er1
    12170   ac_status=$?
    12171   grep -v '^ *+' conftest.er1 >conftest.err
    12172   rm -f conftest.er1
    12173   cat conftest.err >&5
    12174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12175   (exit $ac_status); } &&
    12176          { ac_try='test -z "$ac_cxx_werror_flag"
    12177                          || test ! -s conftest.err'
    12178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12179   (eval $ac_try) 2>&5
    12180   ac_status=$?
    12181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12182   (exit $ac_status); }; } &&
    12183          { ac_try='test -s conftest$ac_exeext'
    12184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12185   (eval $ac_try) 2>&5
    12186   ac_status=$?
    12187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12188   (exit $ac_status); }; }; then
    12189   ac_cv_lib_dld_shl_load=yes
    12190 else
    12191   echo "$as_me: failed program was:" >&5
    12192 sed 's/^/| /' conftest.$ac_ext >&5
    12193 
    12194 ac_cv_lib_dld_shl_load=no
    12195 fi
    12196 rm -f conftest.err conftest.$ac_objext \
    12197       conftest$ac_exeext conftest.$ac_ext
    12198 LIBS=$ac_check_lib_save_LIBS
    12199 fi
    12200 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    12201 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
    12202 if test $ac_cv_lib_dld_shl_load = yes; then
    12203   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
    12204 else
    12205   echo "$as_me:$LINENO: checking for dlopen" >&5
    12206 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
    12207 if test "${ac_cv_func_dlopen+set}" = set; then
    12208   echo $ECHO_N "(cached) $ECHO_C" >&6
    12209 else
    12210   cat >conftest.$ac_ext <<_ACEOF
    12211 /* confdefs.h.  */
    12212 _ACEOF
    12213 cat confdefs.h >>conftest.$ac_ext
    12214 cat >>conftest.$ac_ext <<_ACEOF
    12215 /* end confdefs.h.  */
    12216 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
    12217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12218 #define dlopen innocuous_dlopen
    12219 
    12220 /* System header to define __stub macros and hopefully few prototypes,
    12221     which can conflict with char dlopen (); below.
    12222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12223     <limits.h> exists even on freestanding compilers.  */
    12224 
    12225 #ifdef __STDC__
    12226 # include <limits.h>
    12227 #else
    12228 # include <assert.h>
    12229 #endif
    12230 
    12231 #undef dlopen
    12232 
    12233 /* Override any gcc2 internal prototype to avoid an error.  */
    12234 #ifdef __cplusplus
    12235 extern "C"
    12236 {
    12237 #endif
    12238 /* We use char because int might match the return type of a gcc2
    12239    builtin and then its argument prototype would still apply.  */
    12240 char dlopen ();
    12241 /* The GNU C library defines this for functions which it implements
    12242     to always fail with ENOSYS.  Some functions are actually named
    12243     something starting with __ and the normal name is an alias.  */
    12244 #if defined (__stub_dlopen) || defined (__stub___dlopen)
    12245 choke me
    12246 #else
    12247 char (*f) () = dlopen;
    12248 #endif
    12249 #ifdef __cplusplus
    12250 }
    12251 #endif
    12252 
    12253 int
    12254 main ()
    12255 {
    12256 return f != dlopen;
    12257   ;
    12258   return 0;
    12259 }
    12260 _ACEOF
    12261 rm -f conftest.$ac_objext conftest$ac_exeext
    12262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12263   (eval $ac_link) 2>conftest.er1
    12264   ac_status=$?
    12265   grep -v '^ *+' conftest.er1 >conftest.err
    12266   rm -f conftest.er1
    12267   cat conftest.err >&5
    12268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12269   (exit $ac_status); } &&
    12270          { ac_try='test -z "$ac_cxx_werror_flag"
    12271                          || test ! -s conftest.err'
    12272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12273   (eval $ac_try) 2>&5
    12274   ac_status=$?
    12275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12276   (exit $ac_status); }; } &&
    12277          { ac_try='test -s conftest$ac_exeext'
    12278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12279   (eval $ac_try) 2>&5
    12280   ac_status=$?
    12281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12282   (exit $ac_status); }; }; then
    12283   ac_cv_func_dlopen=yes
    12284 else
    12285   echo "$as_me: failed program was:" >&5
    12286 sed 's/^/| /' conftest.$ac_ext >&5
    12287 
    12288 ac_cv_func_dlopen=no
    12289 fi
    12290 rm -f conftest.err conftest.$ac_objext \
    12291       conftest$ac_exeext conftest.$ac_ext
    12292 fi
    12293 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
    12294 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
    12295 if test $ac_cv_func_dlopen = yes; then
    12296   lt_cv_dlopen="dlopen"
    12297 else
    12298   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    12299 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    12300 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    12301   echo $ECHO_N "(cached) $ECHO_C" >&6
    12302 else
    12303   ac_check_lib_save_LIBS=$LIBS
    12304 LIBS="-ldl  $LIBS"
    12305 cat >conftest.$ac_ext <<_ACEOF
    12306 /* confdefs.h.  */
    12307 _ACEOF
    12308 cat confdefs.h >>conftest.$ac_ext
    12309 cat >>conftest.$ac_ext <<_ACEOF
    12310 /* end confdefs.h.  */
    12311 
    12312 /* Override any gcc2 internal prototype to avoid an error.  */
    12313 #ifdef __cplusplus
    12314 extern "C"
    12315 #endif
    12316 /* We use char because int might match the return type of a gcc2
    12317    builtin and then its argument prototype would still apply.  */
    12318 char dlopen ();
    12319 int
    12320 main ()
    12321 {
    12322 dlopen ();
    12323   ;
    12324   return 0;
    12325 }
    12326 _ACEOF
    12327 rm -f conftest.$ac_objext conftest$ac_exeext
    12328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12329   (eval $ac_link) 2>conftest.er1
    12330   ac_status=$?
    12331   grep -v '^ *+' conftest.er1 >conftest.err
    12332   rm -f conftest.er1
    12333   cat conftest.err >&5
    12334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12335   (exit $ac_status); } &&
    12336          { ac_try='test -z "$ac_cxx_werror_flag"
    12337                          || test ! -s conftest.err'
    12338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12339   (eval $ac_try) 2>&5
    12340   ac_status=$?
    12341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12342   (exit $ac_status); }; } &&
    12343          { ac_try='test -s conftest$ac_exeext'
    12344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12345   (eval $ac_try) 2>&5
    12346   ac_status=$?
    12347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12348   (exit $ac_status); }; }; then
    12349   ac_cv_lib_dl_dlopen=yes
    12350 else
    12351   echo "$as_me: failed program was:" >&5
    12352 sed 's/^/| /' conftest.$ac_ext >&5
    12353 
    12354 ac_cv_lib_dl_dlopen=no
    12355 fi
    12356 rm -f conftest.err conftest.$ac_objext \
    12357       conftest$ac_exeext conftest.$ac_ext
    12358 LIBS=$ac_check_lib_save_LIBS
    12359 fi
    12360 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    12361 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    12362 if test $ac_cv_lib_dl_dlopen = yes; then
    12363   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    12364 else
    12365   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
    12366 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
    12367 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
    12368   echo $ECHO_N "(cached) $ECHO_C" >&6
    12369 else
    12370   ac_check_lib_save_LIBS=$LIBS
    12371 LIBS="-lsvld  $LIBS"
    12372 cat >conftest.$ac_ext <<_ACEOF
    12373 /* confdefs.h.  */
    12374 _ACEOF
    12375 cat confdefs.h >>conftest.$ac_ext
    12376 cat >>conftest.$ac_ext <<_ACEOF
    12377 /* end confdefs.h.  */
    12378 
    12379 /* Override any gcc2 internal prototype to avoid an error.  */
    12380 #ifdef __cplusplus
    12381 extern "C"
    12382 #endif
    12383 /* We use char because int might match the return type of a gcc2
    12384    builtin and then its argument prototype would still apply.  */
    12385 char dlopen ();
    12386 int
    12387 main ()
    12388 {
    12389 dlopen ();
    12390   ;
    12391   return 0;
    12392 }
    12393 _ACEOF
    12394 rm -f conftest.$ac_objext conftest$ac_exeext
    12395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12396   (eval $ac_link) 2>conftest.er1
    12397   ac_status=$?
    12398   grep -v '^ *+' conftest.er1 >conftest.err
    12399   rm -f conftest.er1
    12400   cat conftest.err >&5
    12401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12402   (exit $ac_status); } &&
    12403          { ac_try='test -z "$ac_cxx_werror_flag"
    12404                          || test ! -s conftest.err'
    12405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12406   (eval $ac_try) 2>&5
    12407   ac_status=$?
    12408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12409   (exit $ac_status); }; } &&
    12410          { ac_try='test -s conftest$ac_exeext'
    12411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12412   (eval $ac_try) 2>&5
    12413   ac_status=$?
    12414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12415   (exit $ac_status); }; }; then
    12416   ac_cv_lib_svld_dlopen=yes
    12417 else
    12418   echo "$as_me: failed program was:" >&5
    12419 sed 's/^/| /' conftest.$ac_ext >&5
    12420 
    12421 ac_cv_lib_svld_dlopen=no
    12422 fi
    12423 rm -f conftest.err conftest.$ac_objext \
    12424       conftest$ac_exeext conftest.$ac_ext
    12425 LIBS=$ac_check_lib_save_LIBS
    12426 fi
    12427 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
    12428 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
    12429 if test $ac_cv_lib_svld_dlopen = yes; then
    12430   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
    12431 else
    12432   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
    12433 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
    12434 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
    12435   echo $ECHO_N "(cached) $ECHO_C" >&6
    12436 else
    12437   ac_check_lib_save_LIBS=$LIBS
    12438 LIBS="-ldld  $LIBS"
    12439 cat >conftest.$ac_ext <<_ACEOF
    12440 /* confdefs.h.  */
    12441 _ACEOF
    12442 cat confdefs.h >>conftest.$ac_ext
    12443 cat >>conftest.$ac_ext <<_ACEOF
    12444 /* end confdefs.h.  */
    12445 
    12446 /* Override any gcc2 internal prototype to avoid an error.  */
    12447 #ifdef __cplusplus
    12448 extern "C"
    12449 #endif
    12450 /* We use char because int might match the return type of a gcc2
    12451    builtin and then its argument prototype would still apply.  */
    12452 char dld_link ();
    12453 int
    12454 main ()
    12455 {
    12456 dld_link ();
    12457   ;
    12458   return 0;
    12459 }
    12460 _ACEOF
    12461 rm -f conftest.$ac_objext conftest$ac_exeext
    12462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12463   (eval $ac_link) 2>conftest.er1
    12464   ac_status=$?
    12465   grep -v '^ *+' conftest.er1 >conftest.err
    12466   rm -f conftest.er1
    12467   cat conftest.err >&5
    12468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12469   (exit $ac_status); } &&
    12470          { ac_try='test -z "$ac_cxx_werror_flag"
    12471                          || test ! -s conftest.err'
    12472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12473   (eval $ac_try) 2>&5
    12474   ac_status=$?
    12475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12476   (exit $ac_status); }; } &&
    12477          { ac_try='test -s conftest$ac_exeext'
    12478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    12479   (eval $ac_try) 2>&5
    12480   ac_status=$?
    12481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12482   (exit $ac_status); }; }; then
    12483   ac_cv_lib_dld_dld_link=yes
    12484 else
    12485   echo "$as_me: failed program was:" >&5
    12486 sed 's/^/| /' conftest.$ac_ext >&5
    12487 
    12488 ac_cv_lib_dld_dld_link=no
    12489 fi
    12490 rm -f conftest.err conftest.$ac_objext \
    12491       conftest$ac_exeext conftest.$ac_ext
    12492 LIBS=$ac_check_lib_save_LIBS
    12493 fi
    12494 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
    12495 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
    12496 if test $ac_cv_lib_dld_dld_link = yes; then
    12497   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
    12498 fi
    12499 
    12500 
    12501 fi
    12502 
    12503 
    12504 fi
    12505 
    12506 
    12507 fi
    12508 
    12509 
    12510 fi
    12511 
    12512 
    12513 fi
    12514 
    12515     ;;
    12516   esac
    12517 
    12518   if test "x$lt_cv_dlopen" != xno; then
    12519     enable_dlopen=yes
    12520   else
    12521     enable_dlopen=no
    12522   fi
    12523 
    12524   case $lt_cv_dlopen in
    12525   dlopen)
    12526     save_CPPFLAGS="$CPPFLAGS"
    12527     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    12528 
    12529     save_LDFLAGS="$LDFLAGS"
    12530     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    12531 
    12532     save_LIBS="$LIBS"
    12533     LIBS="$lt_cv_dlopen_libs $LIBS"
    12534 
    12535     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
    12536 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
    12537 if test "${lt_cv_dlopen_self+set}" = set; then
    12538   echo $ECHO_N "(cached) $ECHO_C" >&6
    12539 else
    12540           if test "$cross_compiling" = yes; then :
    12541   lt_cv_dlopen_self=cross
    12542 else
    12543   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    12544   lt_status=$lt_dlunknown
    12545   cat > conftest.$ac_ext <<EOF
    12546 #line 12546 "configure"
    12547 #include "confdefs.h"
    12548 
    12549 #if HAVE_DLFCN_H
    12550 #include <dlfcn.h>
    12551 #endif
    12552 
    12553 #include <stdio.h>
    12554 
    12555 #ifdef RTLD_GLOBAL
    12556 #  define LT_DLGLOBAL           RTLD_GLOBAL
    12557 #else
    12558 #  ifdef DL_GLOBAL
    12559 #    define LT_DLGLOBAL         DL_GLOBAL
    12560 #  else
    12561 #    define LT_DLGLOBAL         0
    12562 #  endif
    12563 #endif
    12564 
    12565 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    12566    find out it does not work in some platform. */
    12567 #ifndef LT_DLLAZY_OR_NOW
    12568 #  ifdef RTLD_LAZY
    12569 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    12570 #  else
    12571 #    ifdef DL_LAZY
    12572 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    12573 #    else
    12574 #      ifdef RTLD_NOW
    12575 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    12576 #      else
    12577 #        ifdef DL_NOW
    12578 #          define LT_DLLAZY_OR_NOW      DL_NOW
    12579 #        else
    12580 #          define LT_DLLAZY_OR_NOW      0
    12581 #        endif
    12582 #      endif
    12583 #    endif
    12584 #  endif
    12585 #endif
    12586 
    12587 #ifdef __cplusplus
    12588 extern "C" void exit (int);
    12589 #endif
    12590 
    12591 void fnord() { int i=42;}
    12592 int main ()
    12593 {
    12594   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    12595   int status = $lt_dlunknown;
    12596 
    12597   if (self)
    12598     {
    12599       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    12600       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
    12601       /* dlclose (self); */
    12602     }
    12603 
    12604     exit (status);
    12605 }
    12606 EOF
    12607   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12608   (eval $ac_link) 2>&5
    12609   ac_status=$?
    12610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12611   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
    12612     (./conftest; exit; ) 2>/dev/null
    12613     lt_status=$?
    12614     case x$lt_status in
    12615       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
    12616       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
    12617       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
    12618     esac
    12619   else :
    12620     # compilation failed
    12621     lt_cv_dlopen_self=no
    12622   fi
    12623 fi
    12624 rm -fr conftest*
    12625 
    12626 
    12627 fi
    12628 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
    12629 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
    12630 
    12631     if test "x$lt_cv_dlopen_self" = xyes; then
    12632       LDFLAGS="$LDFLAGS $link_static_flag"
    12633       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
    12634 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
    12635 if test "${lt_cv_dlopen_self_static+set}" = set; then
    12636   echo $ECHO_N "(cached) $ECHO_C" >&6
    12637 else
    12638           if test "$cross_compiling" = yes; then :
    12639   lt_cv_dlopen_self_static=cross
    12640 else
    12641   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    12642   lt_status=$lt_dlunknown
    12643   cat > conftest.$ac_ext <<EOF
    12644 #line 12644 "configure"
    12645 #include "confdefs.h"
    12646 
    12647 #if HAVE_DLFCN_H
    12648 #include <dlfcn.h>
    12649 #endif
    12650 
    12651 #include <stdio.h>
    12652 
    12653 #ifdef RTLD_GLOBAL
    12654 #  define LT_DLGLOBAL           RTLD_GLOBAL
    12655 #else
    12656 #  ifdef DL_GLOBAL
    12657 #    define LT_DLGLOBAL         DL_GLOBAL
    12658 #  else
    12659 #    define LT_DLGLOBAL         0
    12660 #  endif
    12661 #endif
    12662 
    12663 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    12664    find out it does not work in some platform. */
    12665 #ifndef LT_DLLAZY_OR_NOW
    12666 #  ifdef RTLD_LAZY
    12667 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    12668 #  else
    12669 #    ifdef DL_LAZY
    12670 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    12671 #    else
    12672 #      ifdef RTLD_NOW
    12673 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    12674 #      else
    12675 #        ifdef DL_NOW
    12676 #          define LT_DLLAZY_OR_NOW      DL_NOW
    12677 #        else
    12678 #          define LT_DLLAZY_OR_NOW      0
    12679 #        endif
    12680 #      endif
    12681 #    endif
    12682 #  endif
    12683 #endif
    12684 
    12685 #ifdef __cplusplus
    12686 extern "C" void exit (int);
    12687 #endif
    12688 
    12689 void fnord() { int i=42;}
    12690 int main ()
    12691 {
    12692   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    12693   int status = $lt_dlunknown;
    12694 
    12695   if (self)
    12696     {
    12697       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    12698       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
    12699       /* dlclose (self); */
    12700     }
    12701 
    12702     exit (status);
    12703 }
    12704 EOF
    12705   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12706   (eval $ac_link) 2>&5
    12707   ac_status=$?
    12708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12709   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
    12710     (./conftest; exit; ) 2>/dev/null
    12711     lt_status=$?
    12712     case x$lt_status in
    12713       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
    12714       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
    12715       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
    12716     esac
    12717   else :
    12718     # compilation failed
    12719     lt_cv_dlopen_self_static=no
    12720   fi
    12721 fi
    12722 rm -fr conftest*
    12723 
    12724 
    12725 fi
    12726 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
    12727 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
    12728     fi
    12729 
    12730     CPPFLAGS="$save_CPPFLAGS"
    12731     LDFLAGS="$save_LDFLAGS"
    12732     LIBS="$save_LIBS"
    12733     ;;
    12734   esac
    12735 
    12736   case $lt_cv_dlopen_self in
    12737   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
    12738   *) enable_dlopen_self=unknown ;;
    12739   esac
    12740 
    12741   case $lt_cv_dlopen_self_static in
    12742   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
    12743   *) enable_dlopen_self_static=unknown ;;
    12744   esac
    12745 fi
    12746 
    12747 
    12748 # The else clause should only fire when bootstrapping the
    12749 # libtool distribution, otherwise you forgot to ship ltmain.sh
    12750 # with your package, and you will get complaints that there are
    12751 # no rules to generate ltmain.sh.
    12752 if test -f "$ltmain"; then
    12753   # See if we are running on zsh, and set the options which allow our commands through
    12754   # without removal of \ escapes.
    12755   if test -n "${ZSH_VERSION+set}" ; then
    12756     setopt NO_GLOB_SUBST
    12757   fi
    12758   # Now quote all the things that may contain metacharacters while being
    12759   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    12760   # variables and quote the copies for generation of the libtool script.
    12761   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
    12762     SED SHELL STRIP \
    12763     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    12764     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    12765     deplibs_check_method reload_flag reload_cmds need_locks \
    12766     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    12767     lt_cv_sys_global_symbol_to_c_name_address \
    12768     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    12769     old_postinstall_cmds old_postuninstall_cmds \
    12770     compiler_CXX \
    12771     CC_CXX \
    12772     LD_CXX \
    12773     lt_prog_compiler_wl_CXX \
    12774     lt_prog_compiler_pic_CXX \
    12775     lt_prog_compiler_static_CXX \
    12776     lt_prog_compiler_no_builtin_flag_CXX \
    12777     export_dynamic_flag_spec_CXX \
    12778     thread_safe_flag_spec_CXX \
    12779     whole_archive_flag_spec_CXX \
    12780     enable_shared_with_static_runtimes_CXX \
    12781     old_archive_cmds_CXX \
    12782     old_archive_from_new_cmds_CXX \
    12783     predep_objects_CXX \
    12784     postdep_objects_CXX \
    12785     predeps_CXX \
    12786     postdeps_CXX \
    12787     compiler_lib_search_path_CXX \
    12788     archive_cmds_CXX \
    12789     archive_expsym_cmds_CXX \
    12790     postinstall_cmds_CXX \
    12791     postuninstall_cmds_CXX \
    12792     old_archive_from_expsyms_cmds_CXX \
    12793     allow_undefined_flag_CXX \
    12794     no_undefined_flag_CXX \
    12795     export_symbols_cmds_CXX \
    12796     hardcode_libdir_flag_spec_CXX \
    12797     hardcode_libdir_flag_spec_ld_CXX \
    12798     hardcode_libdir_separator_CXX \
    12799     hardcode_automatic_CXX \
    12800     module_cmds_CXX \
    12801     module_expsym_cmds_CXX \
    12802     lt_cv_prog_compiler_c_o_CXX \
    12803     exclude_expsyms_CXX \
    12804     include_expsyms_CXX; do
    12805 
    12806     case $var in
    12807     old_archive_cmds_CXX | \
    12808     old_archive_from_new_cmds_CXX | \
    12809     archive_cmds_CXX | \
    12810     archive_expsym_cmds_CXX | \
    12811     module_cmds_CXX | \
    12812     module_expsym_cmds_CXX | \
    12813     old_archive_from_expsyms_cmds_CXX | \
    12814     export_symbols_cmds_CXX | \
    12815     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    12816     postinstall_cmds | postuninstall_cmds | \
    12817     old_postinstall_cmds | old_postuninstall_cmds | \
    12818     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    12819       # Double-quote double-evaled strings.
    12820       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    12821       ;;
    12822     *)
    12823       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    12824       ;;
    12825     esac
    12826   done
    12827 
    12828   case $lt_echo in
    12829   *'\$0 --fallback-echo"')
    12830     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    12831     ;;
    12832   esac
    12833 
    12834 cfgfile="$ofile"
    12835 
    12836   cat <<__EOF__ >> "$cfgfile"
    12837 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    12838 
    12839 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    12840 
    12841 # Shell to use when invoking shell scripts.
    12842 SHELL=$lt_SHELL
    12843 
    12844 # Whether or not to build shared libraries.
    12845 build_libtool_libs=$enable_shared
    12846 
    12847 # Whether or not to build static libraries.
    12848 build_old_libs=$enable_static
    12849 
    12850 # Whether or not to add -lc for building shared libraries.
    12851 build_libtool_need_lc=$archive_cmds_need_lc_CXX
    12852 
    12853 # Whether or not to disallow shared libs when runtime libs are static
    12854 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
    12855 
    12856 # Whether or not to optimize for fast installation.
    12857 fast_install=$enable_fast_install
    12858 
    12859 # The host system.
    12860 host_alias=$host_alias
    12861 host=$host
    12862 
    12863 # An echo program that does not interpret backslashes.
    12864 echo=$lt_echo
    12865 
    12866 # The archiver.
    12867 AR=$lt_AR
    12868 AR_FLAGS=$lt_AR_FLAGS
    12869 
    12870 # A C compiler.
    12871 LTCC=$lt_LTCC
    12872 
    12873 # A language-specific compiler.
    12874 CC=$lt_compiler_CXX
    12875 
    12876 # Is the compiler the GNU C compiler?
    12877 with_gcc=$GCC_CXX
    12878 
    12879 # An ERE matcher.
    12880 EGREP=$lt_EGREP
    12881 
    12882 # The linker used to build libraries.
    12883 LD=$lt_LD_CXX
    12884 
    12885 # Whether we need hard or soft links.
    12886 LN_S=$lt_LN_S
    12887 
    12888 # A BSD-compatible nm program.
    12889 NM=$lt_NM
    12890 
    12891 # A symbol stripping program
    12892 STRIP=$lt_STRIP
    12893 
    12894 # Used to examine libraries when file_magic_cmd begins "file"
    12895 MAGIC_CMD=$MAGIC_CMD
    12896 
    12897 # Used on cygwin: DLL creation program.
    12898 DLLTOOL="$DLLTOOL"
    12899 
    12900 # Used on cygwin: object dumper.
    12901 OBJDUMP="$OBJDUMP"
    12902 
    12903 # Used on cygwin: assembler.
    12904 AS="$AS"
    12905 
    12906 # The name of the directory that contains temporary libtool files.
    12907 objdir=$objdir
    12908 
    12909 # How to create reloadable object files.
    12910 reload_flag=$lt_reload_flag
    12911 reload_cmds=$lt_reload_cmds
    12912 
    12913 # How to pass a linker flag through the compiler.
    12914 wl=$lt_lt_prog_compiler_wl_CXX
    12915 
    12916 # Object file suffix (normally "o").
    12917 objext="$ac_objext"
    12918 
    12919 # Old archive suffix (normally "a").
    12920 libext="$libext"
    12921 
    12922 # Shared library suffix (normally ".so").
    12923 shrext_cmds='$shrext_cmds'
    12924 
    12925 # Executable file suffix (normally "").
    12926 exeext="$exeext"
    12927 
    12928 # Additional compiler flags for building library objects.
    12929 pic_flag=$lt_lt_prog_compiler_pic_CXX
    12930 pic_mode=$pic_mode
    12931 
    12932 # What is the maximum length of a command?
    12933 max_cmd_len=$lt_cv_sys_max_cmd_len
    12934 
    12935 # Does compiler simultaneously support -c and -o options?
    12936 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
    12937 
    12938 # Must we lock files when doing compilation ?
    12939 need_locks=$lt_need_locks
    12940 
    12941 # Do we need the lib prefix for modules?
    12942 need_lib_prefix=$need_lib_prefix
    12943 
    12944 # Do we need a version for libraries?
    12945 need_version=$need_version
    12946 
    12947 # Whether dlopen is supported.
    12948 dlopen_support=$enable_dlopen
    12949 
    12950 # Whether dlopen of programs is supported.
    12951 dlopen_self=$enable_dlopen_self
    12952 
    12953 # Whether dlopen of statically linked programs is supported.
    12954 dlopen_self_static=$enable_dlopen_self_static
    12955 
    12956 # Compiler flag to prevent dynamic linking.
    12957 link_static_flag=$lt_lt_prog_compiler_static_CXX
    12958 
    12959 # Compiler flag to turn off builtin functions.
    12960 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
    12961 
    12962 # Compiler flag to allow reflexive dlopens.
    12963 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
    12964 
    12965 # Compiler flag to generate shared objects directly from archives.
    12966 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
    12967 
    12968 # Compiler flag to generate thread-safe objects.
    12969 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
    12970 
    12971 # Library versioning type.
    12972 version_type=$version_type
    12973 
    12974 # Format of library name prefix.
    12975 libname_spec=$lt_libname_spec
    12976 
    12977 # List of archive names.  First name is the real one, the rest are links.
    12978 # The last name is the one that the linker finds with -lNAME.
    12979 library_names_spec=$lt_library_names_spec
    12980 
    12981 # The coded name of the library, if different from the real name.
    12982 soname_spec=$lt_soname_spec
    12983 
    12984 # Commands used to build and install an old-style archive.
    12985 RANLIB=$lt_RANLIB
    12986 old_archive_cmds=$lt_old_archive_cmds_CXX
    12987 old_postinstall_cmds=$lt_old_postinstall_cmds
    12988 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    12989 
    12990 # Create an old-style archive from a shared archive.
    12991 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
    12992 
    12993 # Create a temporary old-style archive to link instead of a shared archive.
    12994 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
    12995 
    12996 # Commands used to build and install a shared archive.
    12997 archive_cmds=$lt_archive_cmds_CXX
    12998 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
    12999 postinstall_cmds=$lt_postinstall_cmds
    13000 postuninstall_cmds=$lt_postuninstall_cmds
    13001 
    13002 # Commands used to build a loadable module (assumed same as above if empty)
    13003 module_cmds=$lt_module_cmds_CXX
    13004 module_expsym_cmds=$lt_module_expsym_cmds_CXX
    13005 
    13006 # Commands to strip libraries.
    13007 old_striplib=$lt_old_striplib
    13008 striplib=$lt_striplib
    13009 
    13010 # Dependencies to place before the objects being linked to create a
    13011 # shared library.
    13012 predep_objects=$lt_predep_objects_CXX
    13013 
    13014 # Dependencies to place after the objects being linked to create a
    13015 # shared library.
    13016 postdep_objects=$lt_postdep_objects_CXX
    13017 
    13018 # Dependencies to place before the objects being linked to create a
    13019 # shared library.
    13020 predeps=$lt_predeps_CXX
    13021 
    13022 # Dependencies to place after the objects being linked to create a
    13023 # shared library.
    13024 postdeps=$lt_postdeps_CXX
    13025 
    13026 # The library search path used internally by the compiler when linking
    13027 # a shared library.
    13028 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
    13029 
    13030 # Method to check whether dependent libraries are shared objects.
    13031 deplibs_check_method=$lt_deplibs_check_method
    13032 
    13033 # Command to use when deplibs_check_method == file_magic.
    13034 file_magic_cmd=$lt_file_magic_cmd
    13035 
    13036 # Flag that allows shared libraries with undefined symbols to be built.
    13037 allow_undefined_flag=$lt_allow_undefined_flag_CXX
    13038 
    13039 # Flag that forces no undefined symbols.
    13040 no_undefined_flag=$lt_no_undefined_flag_CXX
    13041 
    13042 # Commands used to finish a libtool library installation in a directory.
    13043 finish_cmds=$lt_finish_cmds
    13044 
    13045 # Same as above, but a single script fragment to be evaled but not shown.
    13046 finish_eval=$lt_finish_eval
    13047 
    13048 # Take the output of nm and produce a listing of raw symbols and C names.
    13049 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    13050 
    13051 # Transform the output of nm in a proper C declaration
    13052 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    13053 
    13054 # Transform the output of nm in a C name address pair
    13055 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    13056 
    13057 # This is the shared library runtime path variable.
    13058 runpath_var=$runpath_var
    13059 
    13060 # This is the shared library path variable.
    13061 shlibpath_var=$shlibpath_var
    13062 
    13063 # Is shlibpath searched before the hard-coded library search path?
    13064 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    13065 
    13066 # How to hardcode a shared library path into an executable.
    13067 hardcode_action=$hardcode_action_CXX
    13068 
    13069 # Whether we should hardcode library paths into libraries.
    13070 hardcode_into_libs=$hardcode_into_libs
    13071 
    13072 # Flag to hardcode \$libdir into a binary during linking.
    13073 # This must work even if \$libdir does not exist.
    13074 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    13075 
    13076 # If ld is used when linking, flag to hardcode \$libdir into
    13077 # a binary during linking. This must work even if \$libdir does
    13078 # not exist.
    13079 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
    13080 
    13081 # Whether we need a single -rpath flag with a separated argument.
    13082 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    13083 
    13084 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    13085 # resulting binary.
    13086 hardcode_direct=$hardcode_direct_CXX
    13087 
    13088 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    13089 # resulting binary.
    13090 hardcode_minus_L=$hardcode_minus_L_CXX
    13091 
    13092 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    13093 # the resulting binary.
    13094 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
    13095 
    13096 # Set to yes if building a shared library automatically hardcodes DIR into the library
    13097 # and all subsequent libraries and executables linked against it.
    13098 hardcode_automatic=$hardcode_automatic_CXX
    13099 
    13100 # Variables whose values should be saved in libtool wrapper scripts and
    13101 # restored at relink time.
    13102 variables_saved_for_relink="$variables_saved_for_relink"
    13103 
    13104 # Whether libtool must link a program against all its dependency libraries.
    13105 link_all_deplibs=$link_all_deplibs_CXX
    13106 
    13107 # Compile-time system search path for libraries
    13108 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    13109 
    13110 # Run-time system search path for libraries
    13111 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    13112 
    13113 # Fix the shell variable \$srcfile for the compiler.
    13114 fix_srcfile_path="$fix_srcfile_path_CXX"
    13115 
    13116 # Set to yes if exported symbols are required.
    13117 always_export_symbols=$always_export_symbols_CXX
    13118 
    13119 # The commands to list exported symbols.
    13120 export_symbols_cmds=$lt_export_symbols_cmds_CXX
    13121 
    13122 # The commands to extract the exported symbol list from a shared archive.
    13123 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    13124 
    13125 # Symbols that should not be listed in the preloaded symbols.
    13126 exclude_expsyms=$lt_exclude_expsyms_CXX
    13127 
    13128 # Symbols that must always be exported.
    13129 include_expsyms=$lt_include_expsyms_CXX
    13130 
    13131 # ### END LIBTOOL TAG CONFIG: $tagname
    13132 
    13133 __EOF__
    13134 
    13135 
    13136 else
    13137   # If there is no Makefile yet, we rely on a make rule to execute
    13138   # `config.status --recheck' to rerun these tests and create the
    13139   # libtool script then.
    13140   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    13141   if test -f "$ltmain_in"; then
    13142     test -f Makefile && make "$ltmain"
    13143   fi
    13144 fi
    13145 
    13146 
    13147 ac_ext=c
    13148 ac_cpp='$CPP $CPPFLAGS'
    13149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    13152 
    13153 CC=$lt_save_CC
    13154 LDCXX=$LD
    13155 LD=$lt_save_LD
    13156 GCC=$lt_save_GCC
    13157 with_gnu_ldcxx=$with_gnu_ld
    13158 with_gnu_ld=$lt_save_with_gnu_ld
    13159 lt_cv_path_LDCXX=$lt_cv_path_LD
    13160 lt_cv_path_LD=$lt_save_path_LD
    13161 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    13162 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    13163 
    13164         else
    13165           tagname=""
    13166         fi
    13167         ;;
    13168 
    13169       F77)
    13170         if test -n "$F77" && test "X$F77" != "Xno"; then
    13171 
    13172 ac_ext=f
    13173 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    13174 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13175 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    13176 
    13177 
    13178 archive_cmds_need_lc_F77=no
    13179 allow_undefined_flag_F77=
    13180 always_export_symbols_F77=no
    13181 archive_expsym_cmds_F77=
    13182 export_dynamic_flag_spec_F77=
    13183 hardcode_direct_F77=no
    13184 hardcode_libdir_flag_spec_F77=
    13185 hardcode_libdir_flag_spec_ld_F77=
    13186 hardcode_libdir_separator_F77=
    13187 hardcode_minus_L_F77=no
    13188 hardcode_automatic_F77=no
    13189 module_cmds_F77=
    13190 module_expsym_cmds_F77=
    13191 link_all_deplibs_F77=unknown
    13192 old_archive_cmds_F77=$old_archive_cmds
    13193 no_undefined_flag_F77=
    13194 whole_archive_flag_spec_F77=
    13195 enable_shared_with_static_runtimes_F77=no
    13196 
    13197 # Source file extension for f77 test sources.
    13198 ac_ext=f
    13199 
    13200 # Object file extension for compiled f77 test sources.
    13201 objext=o
    13202 objext_F77=$objext
    13203 
    13204 # Code to be used in simple compile tests
    13205 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
    13206 
    13207 # Code to be used in simple link tests
    13208 lt_simple_link_test_code="      program t\n      end\n"
    13209 
    13210 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    13211 
    13212 # If no C compiler was specified, use CC.
    13213 LTCC=${LTCC-"$CC"}
    13214 
    13215 # Allow CC to be a program name with arguments.
    13216 compiler=$CC
    13217 
    13218 
    13219 # Allow CC to be a program name with arguments.
    13220 lt_save_CC="$CC"
    13221 CC=${F77-"f77"}
    13222 compiler=$CC
    13223 compiler_F77=$CC
    13224 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
    13225 
    13226 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
    13227 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
    13228 echo "$as_me:$LINENO: result: $can_build_shared" >&5
    13229 echo "${ECHO_T}$can_build_shared" >&6
    13230 
    13231 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
    13232 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
    13233 test "$can_build_shared" = "no" && enable_shared=no
    13234 
    13235 # On AIX, shared libraries and static libraries use the same namespace, and
    13236 # are all built from PIC.
    13237 case "$host_os" in
    13238 aix3*)
    13239   test "$enable_shared" = yes && enable_static=no
    13240   if test -n "$RANLIB"; then
    13241     archive_cmds="$archive_cmds~\$RANLIB \$lib"
    13242     postinstall_cmds='$RANLIB $lib'
    13243   fi
    13244   ;;
    13245 aix4* | aix5*)
    13246   test "$enable_shared" = yes && enable_static=no
    13247   ;;
    13248 esac
    13249 echo "$as_me:$LINENO: result: $enable_shared" >&5
    13250 echo "${ECHO_T}$enable_shared" >&6
    13251 
    13252 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
    13253 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
    13254 # Make sure either enable_shared or enable_static is yes.
    13255 test "$enable_shared" = yes || enable_static=yes
    13256 echo "$as_me:$LINENO: result: $enable_static" >&5
    13257 echo "${ECHO_T}$enable_static" >&6
    13258 
    13259 test "$ld_shlibs_F77" = no && can_build_shared=no
    13260 
    13261 GCC_F77="$G77"
    13262 LD_F77="$LD"
    13263 
    13264 lt_prog_compiler_wl_F77=
    13265 lt_prog_compiler_pic_F77=
    13266 lt_prog_compiler_static_F77=
    13267 
    13268 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    13269 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    13270 
    13271   if test "$GCC" = yes; then
    13272     lt_prog_compiler_wl_F77='-Wl,'
    13273     lt_prog_compiler_static_F77='-static'
    13274 
    13275     case $host_os in
    13276       aix*)
    13277       # All AIX code is PIC.
    13278       if test "$host_cpu" = ia64; then
    13279         # AIX 5 now supports IA64 processor
    13280         lt_prog_compiler_static_F77='-Bstatic'
    13281       fi
    13282       ;;
    13283 
    13284     amigaos*)
    13285       # FIXME: we need at least 68020 code to build shared libraries, but
    13286       # adding the `-m68020' flag to GCC prevents building anything better,
    13287       # like `-m68040'.
    13288       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
    13289       ;;
    13290 
    13291     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    13292       # PIC is the default for these OSes.
    13293       ;;
    13294 
    13295     mingw* | pw32* | os2*)
    13296       # This hack is so that the source file can tell whether it is being
    13297       # built for inclusion in a dll (and should export symbols for example).
    13298       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
    13299       ;;
    13300 
    13301     darwin* | rhapsody*)
    13302       # PIC is the default on this platform
    13303       # Common symbols not allowed in MH_DYLIB files
    13304       lt_prog_compiler_pic_F77='-fno-common'
    13305       ;;
    13306 
    13307     msdosdjgpp*)
    13308       # Just because we use GCC doesn't mean we suddenly get shared libraries
    13309       # on systems that don't support them.
    13310       lt_prog_compiler_can_build_shared_F77=no
    13311       enable_shared=no
    13312       ;;
    13313 
    13314     sysv4*MP*)
    13315       if test -d /usr/nec; then
    13316         lt_prog_compiler_pic_F77=-Kconform_pic
    13317       fi
    13318       ;;
    13319 
    13320     hpux*)
    13321       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    13322       # not for PA HP-UX.
    13323       case "$host_cpu" in
    13324       hppa*64*|ia64*)
    13325         # +Z the default
    13326         ;;
    13327       *)
    13328         lt_prog_compiler_pic_F77='-fPIC'
    13329         ;;
    13330       esac
    13331       ;;
    13332 
    13333     *)
    13334       lt_prog_compiler_pic_F77='-fPIC'
    13335       ;;
    13336     esac
    13337   else
    13338     # PORTME Check for flag to pass linker flags through the system compiler.
    13339     case $host_os in
    13340     aix*)
    13341       lt_prog_compiler_wl_F77='-Wl,'
    13342       if test "$host_cpu" = ia64; then
    13343         # AIX 5 now supports IA64 processor
    13344         lt_prog_compiler_static_F77='-Bstatic'
    13345       else
    13346         lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
    13347       fi
    13348       ;;
    13349 
    13350     mingw* | pw32* | os2*)
    13351       # This hack is so that the source file can tell whether it is being
    13352       # built for inclusion in a dll (and should export symbols for example).
    13353       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
    13354       ;;
    13355 
    13356     hpux9* | hpux10* | hpux11*)
    13357       lt_prog_compiler_wl_F77='-Wl,'
    13358       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    13359       # not for PA HP-UX.
    13360       case "$host_cpu" in
    13361       hppa*64*|ia64*)
    13362         # +Z the default
    13363         ;;
    13364       *)
    13365         lt_prog_compiler_pic_F77='+Z'
    13366         ;;
    13367       esac
    13368       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    13369       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
    13370       ;;
    13371 
    13372     irix5* | irix6* | nonstopux*)
    13373       lt_prog_compiler_wl_F77='-Wl,'
    13374       # PIC (with -KPIC) is the default.
    13375       lt_prog_compiler_static_F77='-non_shared'
    13376       ;;
    13377 
    13378     newsos6)
    13379       lt_prog_compiler_pic_F77='-KPIC'
    13380       lt_prog_compiler_static_F77='-Bstatic'
    13381       ;;
    13382 
    13383     linux*)
    13384       case $CC in
    13385       icc* | ecc*)
    13386         lt_prog_compiler_wl_F77='-Wl,'
    13387         lt_prog_compiler_pic_F77='-KPIC'
    13388         lt_prog_compiler_static_F77='-static'
    13389         ;;
    13390       ccc*)
    13391         lt_prog_compiler_wl_F77='-Wl,'
    13392         # All Alpha code is PIC.
    13393         lt_prog_compiler_static_F77='-non_shared'
    13394         ;;
    13395       esac
    13396       ;;
    13397 
    13398     osf3* | osf4* | osf5*)
    13399       lt_prog_compiler_wl_F77='-Wl,'
    13400       # All OSF/1 code is PIC.
    13401       lt_prog_compiler_static_F77='-non_shared'
    13402       ;;
    13403 
    13404     sco3.2v5*)
    13405       lt_prog_compiler_pic_F77='-Kpic'
    13406       lt_prog_compiler_static_F77='-dn'
    13407       ;;
    13408 
    13409     solaris*)
    13410       lt_prog_compiler_wl_F77='-Wl,'
    13411       lt_prog_compiler_pic_F77='-KPIC'
    13412       lt_prog_compiler_static_F77='-Bstatic'
    13413       ;;
    13414 
    13415     sunos4*)
    13416       lt_prog_compiler_wl_F77='-Qoption ld '
    13417       lt_prog_compiler_pic_F77='-PIC'
    13418       lt_prog_compiler_static_F77='-Bstatic'
    13419       ;;
    13420 
    13421     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    13422       lt_prog_compiler_wl_F77='-Wl,'
    13423       lt_prog_compiler_pic_F77='-KPIC'
    13424       lt_prog_compiler_static_F77='-Bstatic'
    13425       ;;
    13426 
    13427     sysv4*MP*)
    13428       if test -d /usr/nec ;then
    13429         lt_prog_compiler_pic_F77='-Kconform_pic'
    13430         lt_prog_compiler_static_F77='-Bstatic'
    13431       fi
    13432       ;;
    13433 
    13434     uts4*)
    13435       lt_prog_compiler_pic_F77='-pic'
    13436       lt_prog_compiler_static_F77='-Bstatic'
    13437       ;;
    13438 
    13439     *)
    13440       lt_prog_compiler_can_build_shared_F77=no
    13441       ;;
    13442     esac
    13443   fi
    13444 
    13445 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
    13446 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
    13447 
    13448 #
    13449 # Check to make sure the PIC flag actually works.
    13450 #
    13451 if test -n "$lt_prog_compiler_pic_F77"; then
    13452 
    13453 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
    13454 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
    13455 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
    13456   echo $ECHO_N "(cached) $ECHO_C" >&6
    13457 else
    13458   lt_prog_compiler_pic_works_F77=no
    13459   ac_outfile=conftest.$ac_objext
    13460    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    13461    lt_compiler_flag="$lt_prog_compiler_pic_F77"
    13462    # Insert the option either (1) after the last *FLAGS variable, or
    13463    # (2) before a word containing "conftest.", or (3) at the end.
    13464    # Note that $ac_compile itself does not contain backslashes and begins
    13465    # with a dollar sign (not a hyphen), so the echo should work correctly.
    13466    # The option is referenced via a variable to avoid confusing sed.
    13467    lt_compile=`echo "$ac_compile" | $SED \
    13468    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    13469    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    13470    -e 's:$: $lt_compiler_flag:'`
    13471    (eval echo "\"\$as_me:13471: $lt_compile\"" >&5)
    13472    (eval "$lt_compile" 2>conftest.err)
    13473    ac_status=$?
    13474    cat conftest.err >&5
    13475    echo "$as_me:13475: \$? = $ac_status" >&5
    13476    if (exit $ac_status) && test -s "$ac_outfile"; then
    13477      # The compiler can only warn and ignore the option if not recognized
    13478      # So say no if there are warnings
    13479      if test ! -s conftest.err; then
    13480        lt_prog_compiler_pic_works_F77=yes
    13481      fi
    13482    fi
    13483    $rm conftest*
    13484 
    13485 fi
    13486 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
    13487 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
    13488 
    13489 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
    13490     case $lt_prog_compiler_pic_F77 in
    13491      "" | " "*) ;;
    13492      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
    13493      esac
    13494 else
    13495     lt_prog_compiler_pic_F77=
    13496      lt_prog_compiler_can_build_shared_F77=no
    13497 fi
    13498 
    13499 fi
    13500 case "$host_os" in
    13501   # For platforms which do not support PIC, -DPIC is meaningless:
    13502   *djgpp*)
    13503     lt_prog_compiler_pic_F77=
    13504     ;;
    13505   *)
    13506     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
    13507     ;;
    13508 esac
    13509 
    13510 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    13511 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    13512 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
    13513   echo $ECHO_N "(cached) $ECHO_C" >&6
    13514 else
    13515   lt_cv_prog_compiler_c_o_F77=no
    13516    $rm -r conftest 2>/dev/null
    13517    mkdir conftest
    13518    cd conftest
    13519    mkdir out
    13520    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    13521 
    13522    lt_compiler_flag="-o out/conftest2.$ac_objext"
    13523    # Insert the option either (1) after the last *FLAGS variable, or
    13524    # (2) before a word containing "conftest.", or (3) at the end.
    13525    # Note that $ac_compile itself does not contain backslashes and begins
    13526    # with a dollar sign (not a hyphen), so the echo should work correctly.
    13527    lt_compile=`echo "$ac_compile" | $SED \
    13528    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    13529    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    13530    -e 's:$: $lt_compiler_flag:'`
    13531    (eval echo "\"\$as_me:13531: $lt_compile\"" >&5)
    13532    (eval "$lt_compile" 2>out/conftest.err)
    13533    ac_status=$?
    13534    cat out/conftest.err >&5
    13535    echo "$as_me:13535: \$? = $ac_status" >&5
    13536    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    13537    then
    13538      # The compiler can only warn and ignore the option if not recognized
    13539      # So say no if there are warnings
    13540      if test ! -s out/conftest.err; then
    13541        lt_cv_prog_compiler_c_o_F77=yes
    13542      fi
    13543    fi
    13544    chmod u+w .
    13545    $rm conftest*
    13546    # SGI C++ compiler will create directory out/ii_files/ for
    13547    # template instantiation
    13548    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    13549    $rm out/* && rmdir out
    13550    cd ..
    13551    rmdir conftest
    13552    $rm conftest*
    13553 
    13554 fi
    13555 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
    13556 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
    13557 
    13558 
    13559 hard_links="nottested"
    13560 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
    13561   # do not overwrite the value of need_locks provided by the user
    13562   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    13563 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
    13564   hard_links=yes
    13565   $rm conftest*
    13566   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    13567   touch conftest.a
    13568   ln conftest.a conftest.b 2>&5 || hard_links=no
    13569   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    13570   echo "$as_me:$LINENO: result: $hard_links" >&5
    13571 echo "${ECHO_T}$hard_links" >&6
    13572   if test "$hard_links" = no; then
    13573     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    13574 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    13575     need_locks=warn
    13576   fi
    13577 else
    13578   need_locks=no
    13579 fi
    13580 
    13581 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    13582 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    13583 
    13584   runpath_var=
    13585   allow_undefined_flag_F77=
    13586   enable_shared_with_static_runtimes_F77=no
    13587   archive_cmds_F77=
    13588   archive_expsym_cmds_F77=
    13589   old_archive_From_new_cmds_F77=
    13590   old_archive_from_expsyms_cmds_F77=
    13591   export_dynamic_flag_spec_F77=
    13592   whole_archive_flag_spec_F77=
    13593   thread_safe_flag_spec_F77=
    13594   hardcode_libdir_flag_spec_F77=
    13595   hardcode_libdir_flag_spec_ld_F77=
    13596   hardcode_libdir_separator_F77=
    13597   hardcode_direct_F77=no
    13598   hardcode_minus_L_F77=no
    13599   hardcode_shlibpath_var_F77=unsupported
    13600   link_all_deplibs_F77=unknown
    13601   hardcode_automatic_F77=no
    13602   module_cmds_F77=
    13603   module_expsym_cmds_F77=
    13604   always_export_symbols_F77=no
    13605   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    13606   # include_expsyms should be a list of space-separated symbols to be *always*
    13607   # included in the symbol list
    13608   include_expsyms_F77=
    13609   # exclude_expsyms can be an extended regexp of symbols to exclude
    13610   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    13611   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    13612   # as well as any symbol that contains `d'.
    13613   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
    13614   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    13615   # platforms (ab)use it in PIC code, but their linkers get confused if
    13616   # the symbol is explicitly referenced.  Since portable code cannot
    13617   # rely on this symbol name, it's probably fine to never include it in
    13618   # preloaded symbol tables.
    13619   extract_expsyms_cmds=
    13620 
    13621   case $host_os in
    13622   cygwin* | mingw* | pw32*)
    13623     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    13624     # When not using gcc, we currently assume that we are using
    13625     # Microsoft Visual C++.
    13626     if test "$GCC" != yes; then
    13627       with_gnu_ld=no
    13628     fi
    13629     ;;
    13630   openbsd*)
    13631     with_gnu_ld=no
    13632     ;;
    13633   esac
    13634 
    13635   ld_shlibs_F77=yes
    13636   if test "$with_gnu_ld" = yes; then
    13637     # If archive_cmds runs LD, not CC, wlarc should be empty
    13638     wlarc='${wl}'
    13639 
    13640     # See if GNU ld supports shared libraries.
    13641     case $host_os in
    13642     aix3* | aix4* | aix5*)
    13643       # On AIX/PPC, the GNU linker is very broken
    13644       if test "$host_cpu" != ia64; then
    13645         ld_shlibs_F77=no
    13646         cat <<EOF 1>&2
    13647 
    13648 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
    13649 *** to be unable to reliably create shared libraries on AIX.
    13650 *** Therefore, libtool is disabling shared libraries support.  If you
    13651 *** really care for shared libraries, you may want to modify your PATH
    13652 *** so that a non-GNU linker is found, and then restart.
    13653 
    13654 EOF
    13655       fi
    13656       ;;
    13657 
    13658     amigaos*)
    13659       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
    13660       hardcode_libdir_flag_spec_F77='-L$libdir'
    13661       hardcode_minus_L_F77=yes
    13662 
    13663       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    13664       # that the semantics of dynamic libraries on AmigaOS, at least up
    13665       # to version 4, is to share data among multiple programs linked
    13666       # with the same dynamic library.  Since this doesn't match the
    13667       # behavior of shared libraries on other platforms, we can't use
    13668       # them.
    13669       ld_shlibs_F77=no
    13670       ;;
    13671 
    13672     beos*)
    13673       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    13674         allow_undefined_flag_F77=unsupported
    13675         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    13676         # support --undefined.  This deserves some investigation.  FIXME
    13677         archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13678       else
    13679         ld_shlibs_F77=no
    13680       fi
    13681       ;;
    13682 
    13683     cygwin* | mingw* | pw32*)
    13684       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
    13685       # as there is no search path for DLLs.
    13686       hardcode_libdir_flag_spec_F77='-L$libdir'
    13687       allow_undefined_flag_F77=unsupported
    13688       always_export_symbols_F77=no
    13689       enable_shared_with_static_runtimes_F77=yes
    13690       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    13691 
    13692       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    13693         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    13694         # If the export-symbols file already is a .def file (1st line
    13695         # is EXPORTS), use it as is; otherwise, prepend...
    13696         archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    13697           cp $export_symbols $output_objdir/$soname.def;
    13698         else
    13699           echo EXPORTS > $output_objdir/$soname.def;
    13700           cat $export_symbols >> $output_objdir/$soname.def;
    13701         fi~
    13702         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
    13703       else
    13704         ld_shlibs=no
    13705       fi
    13706       ;;
    13707 
    13708     netbsd*)
    13709       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    13710         archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    13711         wlarc=
    13712       else
    13713         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13714         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    13715       fi
    13716       ;;
    13717 
    13718     solaris* | sysv5*)
    13719       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
    13720         ld_shlibs_F77=no
    13721         cat <<EOF 1>&2
    13722 
    13723 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
    13724 *** create shared libraries on Solaris systems.  Therefore, libtool
    13725 *** is disabling shared libraries support.  We urge you to upgrade GNU
    13726 *** binutils to release 2.9.1 or newer.  Another option is to modify
    13727 *** your PATH or compiler configuration so that the native linker is
    13728 *** used, and then restart.
    13729 
    13730 EOF
    13731       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    13732         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13733         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    13734       else
    13735         ld_shlibs_F77=no
    13736       fi
    13737       ;;
    13738 
    13739     sunos4*)
    13740       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    13741       wlarc=
    13742       hardcode_direct_F77=yes
    13743       hardcode_shlibpath_var_F77=no
    13744       ;;
    13745 
    13746   linux*)
    13747     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    13748         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13749         archive_cmds_F77="$tmp_archive_cmds"
    13750       supports_anon_versioning=no
    13751       case `$LD -v 2>/dev/null` in
    13752         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    13753         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    13754         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    13755         *\ 2.11.*) ;; # other 2.11 versions
    13756         *) supports_anon_versioning=yes ;;
    13757       esac
    13758       if test $supports_anon_versioning = yes; then
    13759         archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
    13760 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    13761 $echo "local: *; };" >> $output_objdir/$libname.ver~
    13762         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    13763       else
    13764         archive_expsym_cmds_F77="$tmp_archive_cmds"
    13765       fi
    13766     else
    13767       ld_shlibs_F77=no
    13768     fi
    13769     ;;
    13770 
    13771     *)
    13772       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    13773         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13774         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    13775       else
    13776         ld_shlibs_F77=no
    13777       fi
    13778       ;;
    13779     esac
    13780 
    13781     if test "$ld_shlibs_F77" = yes; then
    13782       runpath_var=LD_RUN_PATH
    13783       hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
    13784       export_dynamic_flag_spec_F77='${wl}--export-dynamic'
    13785       # ancient GNU ld didn't support --whole-archive et. al.
    13786       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
    13787         whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    13788       else
    13789         whole_archive_flag_spec_F77=
    13790       fi
    13791     fi
    13792   else
    13793     # PORTME fill in a description of your system's linker (not GNU ld)
    13794     case $host_os in
    13795     aix3*)
    13796       allow_undefined_flag_F77=unsupported
    13797       always_export_symbols_F77=yes
    13798       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
    13799       # Note: this linker hardcodes the directories in LIBPATH if there
    13800       # are no directories specified by -L.
    13801       hardcode_minus_L_F77=yes
    13802       if test "$GCC" = yes && test -z "$link_static_flag"; then
    13803         # Neither direct hardcoding nor static linking is supported with a
    13804         # broken collect2.
    13805         hardcode_direct_F77=unsupported
    13806       fi
    13807       ;;
    13808 
    13809     aix4* | aix5*)
    13810       if test "$host_cpu" = ia64; then
    13811         # On IA64, the linker does run time linking by default, so we don't
    13812         # have to do anything special.
    13813         aix_use_runtimelinking=no
    13814         exp_sym_flag='-Bexport'
    13815         no_entry_flag=""
    13816       else
    13817         # If we're using GNU nm, then we don't want the "-C" option.
    13818         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    13819         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    13820           export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    13821         else
    13822           export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    13823         fi
    13824         aix_use_runtimelinking=no
    13825 
    13826         # Test if we are trying to use run time linking or normal
    13827         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    13828         # need to do runtime linking.
    13829         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
    13830           for ld_flag in $LDFLAGS; do
    13831           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    13832             aix_use_runtimelinking=yes
    13833             break
    13834           fi
    13835           done
    13836         esac
    13837 
    13838         exp_sym_flag='-bexport'
    13839         no_entry_flag='-bnoentry'
    13840       fi
    13841 
    13842       # When large executables or shared objects are built, AIX ld can
    13843       # have problems creating the table of contents.  If linking a library
    13844       # or program results in "error TOC overflow" add -mminimal-toc to
    13845       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    13846       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    13847 
    13848       archive_cmds_F77=''
    13849       hardcode_direct_F77=yes
    13850       hardcode_libdir_separator_F77=':'
    13851       link_all_deplibs_F77=yes
    13852 
    13853       if test "$GCC" = yes; then
    13854         case $host_os in aix4.012|aix4.012.*)
    13855         # We only want to do this on AIX 4.2 and lower, the check
    13856         # below for broken collect2 doesn't work under 4.3+
    13857           collect2name=`${CC} -print-prog-name=collect2`
    13858           if test -f "$collect2name" && \
    13859            strings "$collect2name" | grep resolve_lib_name >/dev/null
    13860           then
    13861           # We have reworked collect2
    13862           hardcode_direct_F77=yes
    13863           else
    13864           # We have old collect2
    13865           hardcode_direct_F77=unsupported
    13866           # It fails to find uninstalled libraries when the uninstalled
    13867           # path is not listed in the libpath.  Setting hardcode_minus_L
    13868           # to unsupported forces relinking
    13869           hardcode_minus_L_F77=yes
    13870           hardcode_libdir_flag_spec_F77='-L$libdir'
    13871           hardcode_libdir_separator_F77=
    13872           fi
    13873         esac
    13874         shared_flag='-shared'
    13875       else
    13876         # not using gcc
    13877         if test "$host_cpu" = ia64; then
    13878         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    13879         # chokes on -Wl,-G. The following line is correct:
    13880           shared_flag='-G'
    13881         else
    13882         if test "$aix_use_runtimelinking" = yes; then
    13883             shared_flag='${wl}-G'
    13884           else
    13885             shared_flag='${wl}-bM:SRE'
    13886         fi
    13887         fi
    13888       fi
    13889 
    13890       # It seems that -bexpall does not export symbols beginning with
    13891       # underscore (_), so it is better to generate a list of symbols to export.
    13892       always_export_symbols_F77=yes
    13893       if test "$aix_use_runtimelinking" = yes; then
    13894         # Warning - without using the other runtime loading flags (-brtl),
    13895         # -berok will link without error, but may produce a broken library.
    13896         allow_undefined_flag_F77='-berok'
    13897        # Determine the default libpath from the value encoded in an empty executable.
    13898        cat >conftest.$ac_ext <<_ACEOF
    13899       program main
    13900 
    13901       end
    13902 _ACEOF
    13903 rm -f conftest.$ac_objext conftest$ac_exeext
    13904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13905   (eval $ac_link) 2>conftest.er1
    13906   ac_status=$?
    13907   grep -v '^ *+' conftest.er1 >conftest.err
    13908   rm -f conftest.er1
    13909   cat conftest.err >&5
    13910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13911   (exit $ac_status); } &&
    13912          { ac_try='test -z "$ac_f77_werror_flag"
    13913                          || test ! -s conftest.err'
    13914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13915   (eval $ac_try) 2>&5
    13916   ac_status=$?
    13917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13918   (exit $ac_status); }; } &&
    13919          { ac_try='test -s conftest$ac_exeext'
    13920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13921   (eval $ac_try) 2>&5
    13922   ac_status=$?
    13923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13924   (exit $ac_status); }; }; then
    13925 
    13926 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    13927 }'`
    13928 # Check for a 64-bit object if we didn't find anything.
    13929 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; }
    13930 }'`; fi
    13931 else
    13932   echo "$as_me: failed program was:" >&5
    13933 sed 's/^/| /' conftest.$ac_ext >&5
    13934 
    13935 fi
    13936 rm -f conftest.err conftest.$ac_objext \
    13937       conftest$ac_exeext conftest.$ac_ext
    13938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    13939 
    13940        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
    13941         archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    13942        else
    13943         if test "$host_cpu" = ia64; then
    13944           hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
    13945           allow_undefined_flag_F77="-z nodefs"
    13946           archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
    13947         else
    13948          # Determine the default libpath from the value encoded in an empty executable.
    13949          cat >conftest.$ac_ext <<_ACEOF
    13950       program main
    13951 
    13952       end
    13953 _ACEOF
    13954 rm -f conftest.$ac_objext conftest$ac_exeext
    13955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13956   (eval $ac_link) 2>conftest.er1
    13957   ac_status=$?
    13958   grep -v '^ *+' conftest.er1 >conftest.err
    13959   rm -f conftest.er1
    13960   cat conftest.err >&5
    13961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13962   (exit $ac_status); } &&
    13963          { ac_try='test -z "$ac_f77_werror_flag"
    13964                          || test ! -s conftest.err'
    13965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13966   (eval $ac_try) 2>&5
    13967   ac_status=$?
    13968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13969   (exit $ac_status); }; } &&
    13970          { ac_try='test -s conftest$ac_exeext'
    13971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    13972   (eval $ac_try) 2>&5
    13973   ac_status=$?
    13974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13975   (exit $ac_status); }; }; then
    13976 
    13977 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    13978 }'`
    13979 # Check for a 64-bit object if we didn't find anything.
    13980 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; }
    13981 }'`; fi
    13982 else
    13983   echo "$as_me: failed program was:" >&5
    13984 sed 's/^/| /' conftest.$ac_ext >&5
    13985 
    13986 fi
    13987 rm -f conftest.err conftest.$ac_objext \
    13988       conftest$ac_exeext conftest.$ac_ext
    13989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    13990 
    13991          hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
    13992           # Warning - without using the other run time loading flags,
    13993           # -berok will link without error, but may produce a broken library.
    13994           no_undefined_flag_F77=' ${wl}-bernotok'
    13995           allow_undefined_flag_F77=' ${wl}-berok'
    13996           # -bexpall does not export symbols beginning with underscore (_)
    13997           always_export_symbols_F77=yes
    13998           # Exported symbols can be pulled into shared objects from archives
    13999           whole_archive_flag_spec_F77=' '
    14000           archive_cmds_need_lc_F77=yes
    14001           # This is similar to how AIX traditionally builds it's shared libraries.
    14002           archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    14003         fi
    14004       fi
    14005       ;;
    14006 
    14007     amigaos*)
    14008       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
    14009       hardcode_libdir_flag_spec_F77='-L$libdir'
    14010       hardcode_minus_L_F77=yes
    14011       # see comment about different semantics on the GNU ld section
    14012       ld_shlibs_F77=no
    14013       ;;
    14014 
    14015     bsdi4*)
    14016       export_dynamic_flag_spec_F77=-rdynamic
    14017       ;;
    14018 
    14019     cygwin* | mingw* | pw32*)
    14020       # When not using gcc, we currently assume that we are using
    14021       # Microsoft Visual C++.
    14022       # hardcode_libdir_flag_spec is actually meaningless, as there is
    14023       # no search path for DLLs.
    14024       hardcode_libdir_flag_spec_F77=' '
    14025       allow_undefined_flag_F77=unsupported
    14026       # Tell ltmain to make .lib files, not .a files.
    14027       libext=lib
    14028       # Tell ltmain to make .dll files, not .so files.
    14029       shrext_cmds=".dll"
    14030       # FIXME: Setting linknames here is a bad hack.
    14031       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
    14032       # The linker will automatically build a .lib file if we build a DLL.
    14033       old_archive_From_new_cmds_F77='true'
    14034       # FIXME: Should let the user specify the lib program.
    14035       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
    14036       fix_srcfile_path='`cygpath -w "$srcfile"`'
    14037       enable_shared_with_static_runtimes_F77=yes
    14038       ;;
    14039 
    14040     darwin* | rhapsody*)
    14041     if test "$GXX" = yes ; then
    14042       archive_cmds_need_lc_F77=no
    14043       case "$host_os" in
    14044       rhapsody* | darwin1.[012])
    14045         allow_undefined_flag_F77='-undefined suppress'
    14046         ;;
    14047       *) # Darwin 1.3 on
    14048       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    14049         allow_undefined_flag_F77='-flat_namespace -undefined suppress'
    14050       else
    14051         case ${MACOSX_DEPLOYMENT_TARGET} in
    14052           10.[012])
    14053             allow_undefined_flag_F77='-flat_namespace -undefined suppress'
    14054             ;;
    14055           10.*)
    14056             allow_undefined_flag_F77='-undefined dynamic_lookup'
    14057             ;;
    14058         esac
    14059       fi
    14060         ;;
    14061       esac
    14062         lt_int_apple_cc_single_mod=no
    14063         output_verbose_link_cmd='echo'
    14064         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
    14065           lt_int_apple_cc_single_mod=yes
    14066         fi
    14067         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    14068           archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    14069         else
    14070         archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    14071       fi
    14072       module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    14073       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    14074         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    14075           archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    14076         else
    14077           archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    14078         fi
    14079           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    14080       hardcode_direct_F77=no
    14081       hardcode_automatic_F77=yes
    14082       hardcode_shlibpath_var_F77=unsupported
    14083       whole_archive_flag_spec_F77='-all_load $convenience'
    14084       link_all_deplibs_F77=yes
    14085     else
    14086       ld_shlibs_F77=no
    14087     fi
    14088       ;;
    14089 
    14090     dgux*)
    14091       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14092       hardcode_libdir_flag_spec_F77='-L$libdir'
    14093       hardcode_shlibpath_var_F77=no
    14094       ;;
    14095 
    14096     freebsd1*)
    14097       ld_shlibs_F77=no
    14098       ;;
    14099 
    14100     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    14101     # support.  Future versions do this automatically, but an explicit c++rt0.o
    14102     # does not break anything, and helps significantly (at the cost of a little
    14103     # extra space).
    14104     freebsd2.2*)
    14105       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    14106       hardcode_libdir_flag_spec_F77='-R$libdir'
    14107       hardcode_direct_F77=yes
    14108       hardcode_shlibpath_var_F77=no
    14109       ;;
    14110 
    14111     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    14112     freebsd2*)
    14113       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    14114       hardcode_direct_F77=yes
    14115       hardcode_minus_L_F77=yes
    14116       hardcode_shlibpath_var_F77=no
    14117       ;;
    14118 
    14119     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    14120     freebsd* | kfreebsd*-gnu)
    14121       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    14122       hardcode_libdir_flag_spec_F77='-R$libdir'
    14123       hardcode_direct_F77=yes
    14124       hardcode_shlibpath_var_F77=no
    14125       ;;
    14126 
    14127     hpux9*)
    14128       if test "$GCC" = yes; then
    14129         archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    14130       else
    14131         archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    14132       fi
    14133       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
    14134       hardcode_libdir_separator_F77=:
    14135       hardcode_direct_F77=yes
    14136 
    14137       # hardcode_minus_L: Not really in the search PATH,
    14138       # but as the default location of the library.
    14139       hardcode_minus_L_F77=yes
    14140       export_dynamic_flag_spec_F77='${wl}-E'
    14141       ;;
    14142 
    14143     hpux10* | hpux11*)
    14144       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    14145         case "$host_cpu" in
    14146         hppa*64*|ia64*)
    14147           archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    14148           ;;
    14149         *)
    14150           archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    14151           ;;
    14152         esac
    14153       else
    14154         case "$host_cpu" in
    14155         hppa*64*|ia64*)
    14156           archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
    14157           ;;
    14158         *)
    14159           archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    14160           ;;
    14161         esac
    14162       fi
    14163       if test "$with_gnu_ld" = no; then
    14164         case "$host_cpu" in
    14165         hppa*64*)
    14166           hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
    14167           hardcode_libdir_flag_spec_ld_F77='+b $libdir'
    14168           hardcode_libdir_separator_F77=:
    14169           hardcode_direct_F77=no
    14170           hardcode_shlibpath_var_F77=no
    14171           ;;
    14172         ia64*)
    14173           hardcode_libdir_flag_spec_F77='-L$libdir'
    14174           hardcode_direct_F77=no
    14175           hardcode_shlibpath_var_F77=no
    14176 
    14177           # hardcode_minus_L: Not really in the search PATH,
    14178           # but as the default location of the library.
    14179           hardcode_minus_L_F77=yes
    14180           ;;
    14181         *)
    14182           hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
    14183           hardcode_libdir_separator_F77=:
    14184           hardcode_direct_F77=yes
    14185           export_dynamic_flag_spec_F77='${wl}-E'
    14186 
    14187           # hardcode_minus_L: Not really in the search PATH,
    14188           # but as the default location of the library.
    14189           hardcode_minus_L_F77=yes
    14190           ;;
    14191         esac
    14192       fi
    14193       ;;
    14194 
    14195     irix5* | irix6* | nonstopux*)
    14196       if test "$GCC" = yes; then
    14197         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    14198       else
    14199         archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    14200         hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
    14201       fi
    14202       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    14203       hardcode_libdir_separator_F77=:
    14204       link_all_deplibs_F77=yes
    14205       ;;
    14206 
    14207     netbsd*)
    14208       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    14209         archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    14210       else
    14211         archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    14212       fi
    14213       hardcode_libdir_flag_spec_F77='-R$libdir'
    14214       hardcode_direct_F77=yes
    14215       hardcode_shlibpath_var_F77=no
    14216       ;;
    14217 
    14218     newsos6)
    14219       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14220       hardcode_direct_F77=yes
    14221       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    14222       hardcode_libdir_separator_F77=:
    14223       hardcode_shlibpath_var_F77=no
    14224       ;;
    14225 
    14226     openbsd*)
    14227       hardcode_direct_F77=yes
    14228       hardcode_shlibpath_var_F77=no
    14229       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    14230         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    14231         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
    14232         export_dynamic_flag_spec_F77='${wl}-E'
    14233       else
    14234        case $host_os in
    14235          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    14236            archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    14237            hardcode_libdir_flag_spec_F77='-R$libdir'
    14238            ;;
    14239          *)
    14240            archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    14241            hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
    14242            ;;
    14243        esac
    14244       fi
    14245       ;;
    14246 
    14247     os2*)
    14248       hardcode_libdir_flag_spec_F77='-L$libdir'
    14249       hardcode_minus_L_F77=yes
    14250       allow_undefined_flag_F77=unsupported
    14251       archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
    14252       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    14253       ;;
    14254 
    14255     osf3*)
    14256       if test "$GCC" = yes; then
    14257         allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
    14258         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    14259       else
    14260         allow_undefined_flag_F77=' -expect_unresolved \*'
    14261         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    14262       fi
    14263       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    14264       hardcode_libdir_separator_F77=:
    14265       ;;
    14266 
    14267     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    14268       if test "$GCC" = yes; then
    14269         allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
    14270         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    14271         hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
    14272       else
    14273         allow_undefined_flag_F77=' -expect_unresolved \*'
    14274         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    14275         archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    14276         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
    14277 
    14278         # Both c and cxx compiler support -rpath directly
    14279         hardcode_libdir_flag_spec_F77='-rpath $libdir'
    14280       fi
    14281       hardcode_libdir_separator_F77=:
    14282       ;;
    14283 
    14284     sco3.2v5*)
    14285       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14286       hardcode_shlibpath_var_F77=no
    14287       export_dynamic_flag_spec_F77='${wl}-Bexport'
    14288       runpath_var=LD_RUN_PATH
    14289       hardcode_runpath_var=yes
    14290       ;;
    14291 
    14292     solaris*)
    14293       no_undefined_flag_F77=' -z text'
    14294       if test "$GCC" = yes; then
    14295         archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    14296         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    14297           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
    14298       else
    14299         archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14300         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    14301         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    14302       fi
    14303       hardcode_libdir_flag_spec_F77='-R$libdir'
    14304       hardcode_shlibpath_var_F77=no
    14305       case $host_os in
    14306       solaris2.[0-5] | solaris2.[0-5].*) ;;
    14307       *) # Supported since Solaris 2.6 (maybe 2.5.1?)
    14308         whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
    14309       esac
    14310       link_all_deplibs_F77=yes
    14311       ;;
    14312 
    14313     sunos4*)
    14314       if test "x$host_vendor" = xsequent; then
    14315         # Use $CC to link under sequent, because it throws in some extra .o
    14316         # files that make .init and .fini sections work.
    14317         archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    14318       else
    14319         archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    14320       fi
    14321       hardcode_libdir_flag_spec_F77='-L$libdir'
    14322       hardcode_direct_F77=yes
    14323       hardcode_minus_L_F77=yes
    14324       hardcode_shlibpath_var_F77=no
    14325       ;;
    14326 
    14327     sysv4)
    14328       case $host_vendor in
    14329         sni)
    14330           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14331           hardcode_direct_F77=yes # is this really true???
    14332         ;;
    14333         siemens)
    14334           ## LD is ld it makes a PLAMLIB
    14335           ## CC just makes a GrossModule.
    14336           archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    14337           reload_cmds_F77='$CC -r -o $output$reload_objs'
    14338           hardcode_direct_F77=no
    14339         ;;
    14340         motorola)
    14341           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14342           hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
    14343         ;;
    14344       esac
    14345       runpath_var='LD_RUN_PATH'
    14346       hardcode_shlibpath_var_F77=no
    14347       ;;
    14348 
    14349     sysv4.3*)
    14350       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14351       hardcode_shlibpath_var_F77=no
    14352       export_dynamic_flag_spec_F77='-Bexport'
    14353       ;;
    14354 
    14355     sysv4*MP*)
    14356       if test -d /usr/nec; then
    14357         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14358         hardcode_shlibpath_var_F77=no
    14359         runpath_var=LD_RUN_PATH
    14360         hardcode_runpath_var=yes
    14361         ld_shlibs_F77=yes
    14362       fi
    14363       ;;
    14364 
    14365     sysv4.2uw2*)
    14366       archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    14367       hardcode_direct_F77=yes
    14368       hardcode_minus_L_F77=no
    14369       hardcode_shlibpath_var_F77=no
    14370       hardcode_runpath_var=yes
    14371       runpath_var=LD_RUN_PATH
    14372       ;;
    14373 
    14374    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
    14375       no_undefined_flag_F77='${wl}-z ${wl}text'
    14376       if test "$GCC" = yes; then
    14377         archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    14378       else
    14379         archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    14380       fi
    14381       runpath_var='LD_RUN_PATH'
    14382       hardcode_shlibpath_var_F77=no
    14383       ;;
    14384 
    14385     sysv5*)
    14386       no_undefined_flag_F77=' -z text'
    14387       # $CC -shared without GNU ld will not create a library from C++
    14388       # object files and a static libstdc++, better avoid it by now
    14389       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14390       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    14391                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    14392       hardcode_libdir_flag_spec_F77=
    14393       hardcode_shlibpath_var_F77=no
    14394       runpath_var='LD_RUN_PATH'
    14395       ;;
    14396 
    14397     uts4*)
    14398       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    14399       hardcode_libdir_flag_spec_F77='-L$libdir'
    14400       hardcode_shlibpath_var_F77=no
    14401       ;;
    14402 
    14403     *)
    14404       ld_shlibs_F77=no
    14405       ;;
    14406     esac
    14407   fi
    14408 
    14409 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
    14410 echo "${ECHO_T}$ld_shlibs_F77" >&6
    14411 test "$ld_shlibs_F77" = no && can_build_shared=no
    14412 
    14413 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    14414 if test "$GCC" = yes; then
    14415   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    14416 fi
    14417 
    14418 #
    14419 # Do we need to explicitly link libc?
    14420 #
    14421 case "x$archive_cmds_need_lc_F77" in
    14422 x|xyes)
    14423   # Assume -lc should be added
    14424   archive_cmds_need_lc_F77=yes
    14425 
    14426   if test "$enable_shared" = yes && test "$GCC" = yes; then
    14427     case $archive_cmds_F77 in
    14428     *'~'*)
    14429       # FIXME: we may have to deal with multi-command sequences.
    14430       ;;
    14431     '$CC '*)
    14432       # Test whether the compiler implicitly links with -lc since on some
    14433       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    14434       # to ld, don't add -lc before -lgcc.
    14435       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    14436 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    14437       $rm conftest*
    14438       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    14439 
    14440       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14441   (eval $ac_compile) 2>&5
    14442   ac_status=$?
    14443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14444   (exit $ac_status); } 2>conftest.err; then
    14445         soname=conftest
    14446         lib=conftest
    14447         libobjs=conftest.$ac_objext
    14448         deplibs=
    14449         wl=$lt_prog_compiler_wl_F77
    14450         compiler_flags=-v
    14451         linker_flags=-v
    14452         verstring=
    14453         output_objdir=.
    14454         libname=conftest
    14455         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
    14456         allow_undefined_flag_F77=
    14457         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    14458   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
    14459   ac_status=$?
    14460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14461   (exit $ac_status); }
    14462         then
    14463           archive_cmds_need_lc_F77=no
    14464         else
    14465           archive_cmds_need_lc_F77=yes
    14466         fi
    14467         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
    14468       else
    14469         cat conftest.err 1>&5
    14470       fi
    14471       $rm conftest*
    14472       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
    14473 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
    14474       ;;
    14475     esac
    14476   fi
    14477   ;;
    14478 esac
    14479 
    14480 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    14481 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
    14482 library_names_spec=
    14483 libname_spec='lib$name'
    14484 soname_spec=
    14485 shrext_cmds=".so"
    14486 postinstall_cmds=
    14487 postuninstall_cmds=
    14488 finish_cmds=
    14489 finish_eval=
    14490 shlibpath_var=
    14491 shlibpath_overrides_runpath=unknown
    14492 version_type=none
    14493 dynamic_linker="$host_os ld.so"
    14494 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    14495 if test "$GCC" = yes; then
    14496   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    14497   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    14498     # if the path contains ";" then we assume it to be the separator
    14499     # otherwise default to the standard path separator (i.e. ":") - it is
    14500     # assumed that no part of a normal pathname contains ";" but that should
    14501     # okay in the real world where ";" in dirpaths is itself problematic.
    14502     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    14503   else
    14504     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    14505   fi
    14506 else
    14507   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    14508 fi
    14509 need_lib_prefix=unknown
    14510 hardcode_into_libs=no
    14511 
    14512 # when you set need_version to no, make sure it does not cause -set_version
    14513 # flags to be left without arguments
    14514 need_version=unknown
    14515 
    14516 case $host_os in
    14517 aix3*)
    14518   version_type=linux
    14519   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    14520   shlibpath_var=LIBPATH
    14521 
    14522   # AIX 3 has no versioning support, so we append a major version to the name.
    14523   soname_spec='${libname}${release}${shared_ext}$major'
    14524   ;;
    14525 
    14526 aix4* | aix5*)
    14527   version_type=linux
    14528   need_lib_prefix=no
    14529   need_version=no
    14530   hardcode_into_libs=yes
    14531   if test "$host_cpu" = ia64; then
    14532     # AIX 5 supports IA64
    14533     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
    14534     shlibpath_var=LD_LIBRARY_PATH
    14535   else
    14536     # With GCC up to 2.95.x, collect2 would create an import file
    14537     # for dependence libraries.  The import file would start with
    14538     # the line `#! .'.  This would cause the generated library to
    14539     # depend on `.', always an invalid library.  This was fixed in
    14540     # development snapshots of GCC prior to 3.0.
    14541     case $host_os in
    14542       aix4 | aix4.[01] | aix4.[01].*)
    14543       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    14544            echo ' yes '
    14545            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
    14546         :
    14547       else
    14548         can_build_shared=no
    14549       fi
    14550       ;;
    14551     esac
    14552     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    14553     # soname into executable. Probably we can add versioning support to
    14554     # collect2, so additional links can be useful in future.
    14555     if test "$aix_use_runtimelinking" = yes; then
    14556       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    14557       # instead of lib<name>.a to let people know that these are not
    14558       # typical AIX shared libraries.
    14559       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14560     else
    14561       # We preserve .a as extension for shared libraries through AIX4.2
    14562       # and later when we are not doing run time linking.
    14563       library_names_spec='${libname}${release}.a $libname.a'
    14564       soname_spec='${libname}${release}${shared_ext}$major'
    14565     fi
    14566     shlibpath_var=LIBPATH
    14567   fi
    14568   ;;
    14569 
    14570 amigaos*)
    14571   library_names_spec='$libname.ixlibrary $libname.a'
    14572   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    14573   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'
    14574   ;;
    14575 
    14576 beos*)
    14577   library_names_spec='${libname}${shared_ext}'
    14578   dynamic_linker="$host_os ld.so"
    14579   shlibpath_var=LIBRARY_PATH
    14580   ;;
    14581 
    14582 bsdi4*)
    14583   version_type=linux
    14584   need_version=no
    14585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14586   soname_spec='${libname}${release}${shared_ext}$major'
    14587   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    14588   shlibpath_var=LD_LIBRARY_PATH
    14589   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    14590   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    14591   # the default ld.so.conf also contains /usr/contrib/lib and
    14592   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    14593   # libtool to hard-code these into programs
    14594   ;;
    14595 
    14596 cygwin* | mingw* | pw32*)
    14597   version_type=windows
    14598   shrext_cmds=".dll"
    14599   need_version=no
    14600   need_lib_prefix=no
    14601 
    14602   case $GCC,$host_os in
    14603   yes,cygwin* | yes,mingw* | yes,pw32*)
    14604     library_names_spec='$libname.dll.a'
    14605     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    14606     postinstall_cmds='base_file=`basename \${file}`~
    14607       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
    14608       dldir=$destdir/`dirname \$dlpath`~
    14609       test -d \$dldir || mkdir -p \$dldir~
    14610       $install_prog $dir/$dlname \$dldir/$dlname'
    14611     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    14612       dlpath=$dir/\$dldll~
    14613        $rm \$dlpath'
    14614     shlibpath_overrides_runpath=yes
    14615 
    14616     case $host_os in
    14617     cygwin*)
    14618       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    14619       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    14620       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
    14621       ;;
    14622     mingw*)
    14623       # MinGW DLLs use traditional 'lib' prefix
    14624       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    14625       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    14626       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    14627         # It is most probably a Windows format PATH printed by
    14628         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    14629         # path with ; separators, and with drive letters. We can handle the
    14630         # drive letters (cygwin fileutils understands them), so leave them,
    14631         # especially as we might pass files found there to a mingw objdump,
    14632         # which wouldn't understand a cygwinified path. Ahh.
    14633         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    14634       else
    14635         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    14636       fi
    14637       ;;
    14638     pw32*)
    14639       # pw32 DLLs use 'pw' prefix rather than 'lib'
    14640       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
    14641       ;;
    14642     esac
    14643     ;;
    14644 
    14645   *)
    14646     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
    14647     ;;
    14648   esac
    14649   dynamic_linker='Win32 ld.exe'
    14650   # FIXME: first we should search . and the directory the executable is in
    14651   shlibpath_var=PATH
    14652   ;;
    14653 
    14654 darwin* | rhapsody*)
    14655   dynamic_linker="$host_os dyld"
    14656   version_type=darwin
    14657   need_lib_prefix=no
    14658   need_version=no
    14659   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    14660   soname_spec='${libname}${release}${major}$shared_ext'
    14661   shlibpath_overrides_runpath=yes
    14662   shlibpath_var=DYLD_LIBRARY_PATH
    14663   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
    14664   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    14665   if test "$GCC" = yes; then
    14666     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    14667   else
    14668     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    14669   fi
    14670   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    14671   ;;
    14672 
    14673 dgux*)
    14674   version_type=linux
    14675   need_lib_prefix=no
    14676   need_version=no
    14677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    14678   soname_spec='${libname}${release}${shared_ext}$major'
    14679   shlibpath_var=LD_LIBRARY_PATH
    14680   ;;
    14681 
    14682 freebsd1*)
    14683   dynamic_linker=no
    14684   ;;
    14685 
    14686 kfreebsd*-gnu)
    14687   version_type=linux
    14688   need_lib_prefix=no
    14689   need_version=no
    14690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    14691   soname_spec='${libname}${release}${shared_ext}$major'
    14692   shlibpath_var=LD_LIBRARY_PATH
    14693   shlibpath_overrides_runpath=no
    14694   hardcode_into_libs=yes
    14695   dynamic_linker='GNU ld.so'
    14696   ;;
    14697 
    14698 freebsd*)
    14699   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
    14700   version_type=freebsd-$objformat
    14701   case $version_type in
    14702     freebsd-elf*)
    14703       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    14704       need_version=no
    14705       need_lib_prefix=no
    14706       ;;
    14707     freebsd-*)
    14708       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
    14709       need_version=yes
    14710       ;;
    14711   esac
    14712   shlibpath_var=LD_LIBRARY_PATH
    14713   case $host_os in
    14714   freebsd2*)
    14715     shlibpath_overrides_runpath=yes
    14716     ;;
    14717   freebsd3.01* | freebsdelf3.01*)
    14718     shlibpath_overrides_runpath=yes
    14719     hardcode_into_libs=yes
    14720     ;;
    14721   *) # from 3.2 on
    14722     shlibpath_overrides_runpath=no
    14723     hardcode_into_libs=yes
    14724     ;;
    14725   esac
    14726   ;;
    14727 
    14728 gnu*)
    14729   version_type=linux
    14730   need_lib_prefix=no
    14731   need_version=no
    14732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    14733   soname_spec='${libname}${release}${shared_ext}$major'
    14734   shlibpath_var=LD_LIBRARY_PATH
    14735   hardcode_into_libs=yes
    14736   ;;
    14737 
    14738 hpux9* | hpux10* | hpux11*)
    14739   # Give a soname corresponding to the major version so that dld.sl refuses to
    14740   # link against other versions.
    14741   version_type=sunos
    14742   need_lib_prefix=no
    14743   need_version=no
    14744   case "$host_cpu" in
    14745   ia64*)
    14746     shrext_cmds='.so'
    14747     hardcode_into_libs=yes
    14748     dynamic_linker="$host_os dld.so"
    14749     shlibpath_var=LD_LIBRARY_PATH
    14750     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    14751     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14752     soname_spec='${libname}${release}${shared_ext}$major'
    14753     if test "X$HPUX_IA64_MODE" = X32; then
    14754       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    14755     else
    14756       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    14757     fi
    14758     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    14759     ;;
    14760    hppa*64*)
    14761      shrext_cmds='.sl'
    14762      hardcode_into_libs=yes
    14763      dynamic_linker="$host_os dld.sl"
    14764      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    14765      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    14766      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14767      soname_spec='${libname}${release}${shared_ext}$major'
    14768      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    14769      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    14770      ;;
    14771    *)
    14772     shrext_cmds='.sl'
    14773     dynamic_linker="$host_os dld.sl"
    14774     shlibpath_var=SHLIB_PATH
    14775     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    14776     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14777     soname_spec='${libname}${release}${shared_ext}$major'
    14778     ;;
    14779   esac
    14780   # HP-UX runs *really* slowly unless shared libraries are mode 555.
    14781   postinstall_cmds='chmod 555 $lib'
    14782   ;;
    14783 
    14784 irix5* | irix6* | nonstopux*)
    14785   case $host_os in
    14786     nonstopux*) version_type=nonstopux ;;
    14787     *)
    14788         if test "$lt_cv_prog_gnu_ld" = yes; then
    14789                 version_type=linux
    14790         else
    14791                 version_type=irix
    14792         fi ;;
    14793   esac
    14794   need_lib_prefix=no
    14795   need_version=no
    14796   soname_spec='${libname}${release}${shared_ext}$major'
    14797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
    14798   case $host_os in
    14799   irix5* | nonstopux*)
    14800     libsuff= shlibsuff=
    14801     ;;
    14802   *)
    14803     case $LD in # libtool.m4 will add one of these switches to LD
    14804     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    14805       libsuff= shlibsuff= libmagic=32-bit;;
    14806     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    14807       libsuff=32 shlibsuff=N32 libmagic=N32;;
    14808     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    14809       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    14810     *) libsuff= shlibsuff= libmagic=never-match;;
    14811     esac
    14812     ;;
    14813   esac
    14814   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    14815   shlibpath_overrides_runpath=no
    14816   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    14817   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    14818   hardcode_into_libs=yes
    14819   ;;
    14820 
    14821 # No shared lib support for Linux oldld, aout, or coff.
    14822 linux*oldld* | linux*aout* | linux*coff*)
    14823   dynamic_linker=no
    14824   ;;
    14825 
    14826 # This must be Linux ELF.
    14827 linux*)
    14828   version_type=linux
    14829   need_lib_prefix=no
    14830   need_version=no
    14831   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14832   soname_spec='${libname}${release}${shared_ext}$major'
    14833   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    14834   shlibpath_var=LD_LIBRARY_PATH
    14835   shlibpath_overrides_runpath=no
    14836   # This implies no fast_install, which is unacceptable.
    14837   # Some rework will be needed to allow for fast_install
    14838   # before this can be enabled.
    14839   hardcode_into_libs=yes
    14840 
    14841   # find out which ABI we are using
    14842   libsuff=
    14843   case "$host_cpu" in
    14844   x86_64*|s390x*|powerpc64*)
    14845     echo '#line 14845 "configure"' > conftest.$ac_ext
    14846     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    14847   (eval $ac_compile) 2>&5
    14848   ac_status=$?
    14849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14850   (exit $ac_status); }; then
    14851       case `/usr/bin/file conftest.$ac_objext` in
    14852       *64-bit*)
    14853         libsuff=64
    14854         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    14855         ;;
    14856       esac
    14857     fi
    14858     rm -rf conftest*
    14859     ;;
    14860   esac
    14861 
    14862   # Append ld.so.conf contents to the search path
    14863   if test -f /etc/ld.so.conf; then
    14864     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
    14865     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    14866   fi
    14867 
    14868   # We used to test for /lib/ld.so.1 and disable shared libraries on
    14869   # powerpc, because MkLinux only supported shared libraries with the
    14870   # GNU dynamic linker.  Since this was broken with cross compilers,
    14871   # most powerpc-linux boxes support dynamic linking these days and
    14872   # people can always --disable-shared, the test was removed, and we
    14873   # assume the GNU/Linux dynamic linker is in use.
    14874   dynamic_linker='GNU/Linux ld.so'
    14875   ;;
    14876 
    14877 knetbsd*-gnu)
    14878   version_type=linux
    14879   need_lib_prefix=no
    14880   need_version=no
    14881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    14882   soname_spec='${libname}${release}${shared_ext}$major'
    14883   shlibpath_var=LD_LIBRARY_PATH
    14884   shlibpath_overrides_runpath=no
    14885   hardcode_into_libs=yes
    14886   dynamic_linker='GNU ld.so'
    14887   ;;
    14888 
    14889 netbsd*)
    14890   version_type=sunos
    14891   need_lib_prefix=no
    14892   need_version=no
    14893   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    14894     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    14895     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    14896     dynamic_linker='NetBSD (a.out) ld.so'
    14897   else
    14898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    14899     soname_spec='${libname}${release}${shared_ext}$major'
    14900     dynamic_linker='NetBSD ld.elf_so'
    14901   fi
    14902   shlibpath_var=LD_LIBRARY_PATH
    14903   shlibpath_overrides_runpath=yes
    14904   hardcode_into_libs=yes
    14905   ;;
    14906 
    14907 newsos6)
    14908   version_type=linux
    14909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14910   shlibpath_var=LD_LIBRARY_PATH
    14911   shlibpath_overrides_runpath=yes
    14912   ;;
    14913 
    14914 nto-qnx*)
    14915   version_type=linux
    14916   need_lib_prefix=no
    14917   need_version=no
    14918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14919   soname_spec='${libname}${release}${shared_ext}$major'
    14920   shlibpath_var=LD_LIBRARY_PATH
    14921   shlibpath_overrides_runpath=yes
    14922   ;;
    14923 
    14924 openbsd*)
    14925   version_type=sunos
    14926   need_lib_prefix=no
    14927   need_version=yes
    14928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    14929   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    14930   shlibpath_var=LD_LIBRARY_PATH
    14931   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    14932     case $host_os in
    14933       openbsd2.[89] | openbsd2.[89].*)
    14934         shlibpath_overrides_runpath=no
    14935         ;;
    14936       *)
    14937         shlibpath_overrides_runpath=yes
    14938         ;;
    14939       esac
    14940   else
    14941     shlibpath_overrides_runpath=yes
    14942   fi
    14943   ;;
    14944 
    14945 os2*)
    14946   libname_spec='$name'
    14947   shrext_cmds=".dll"
    14948   need_lib_prefix=no
    14949   library_names_spec='$libname${shared_ext} $libname.a'
    14950   dynamic_linker='OS/2 ld.exe'
    14951   shlibpath_var=LIBPATH
    14952   ;;
    14953 
    14954 osf3* | osf4* | osf5*)
    14955   version_type=osf
    14956   need_lib_prefix=no
    14957   need_version=no
    14958   soname_spec='${libname}${release}${shared_ext}$major'
    14959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14960   shlibpath_var=LD_LIBRARY_PATH
    14961   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    14962   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    14963   ;;
    14964 
    14965 sco3.2v5*)
    14966   version_type=osf
    14967   soname_spec='${libname}${release}${shared_ext}$major'
    14968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14969   shlibpath_var=LD_LIBRARY_PATH
    14970   ;;
    14971 
    14972 solaris*)
    14973   version_type=linux
    14974   need_lib_prefix=no
    14975   need_version=no
    14976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14977   soname_spec='${libname}${release}${shared_ext}$major'
    14978   shlibpath_var=LD_LIBRARY_PATH
    14979   shlibpath_overrides_runpath=yes
    14980   hardcode_into_libs=yes
    14981   # ldd complains unless libraries are executable
    14982   postinstall_cmds='chmod +x $lib'
    14983   ;;
    14984 
    14985 sunos4*)
    14986   version_type=sunos
    14987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    14988   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    14989   shlibpath_var=LD_LIBRARY_PATH
    14990   shlibpath_overrides_runpath=yes
    14991   if test "$with_gnu_ld" = yes; then
    14992     need_lib_prefix=no
    14993   fi
    14994   need_version=yes
    14995   ;;
    14996 
    14997 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    14998   version_type=linux
    14999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15000   soname_spec='${libname}${release}${shared_ext}$major'
    15001   shlibpath_var=LD_LIBRARY_PATH
    15002   case $host_vendor in
    15003     sni)
    15004       shlibpath_overrides_runpath=no
    15005       need_lib_prefix=no
    15006       export_dynamic_flag_spec='${wl}-Blargedynsym'
    15007       runpath_var=LD_RUN_PATH
    15008       ;;
    15009     siemens)
    15010       need_lib_prefix=no
    15011       ;;
    15012     motorola)
    15013       need_lib_prefix=no
    15014       need_version=no
    15015       shlibpath_overrides_runpath=no
    15016       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    15017       ;;
    15018   esac
    15019   ;;
    15020 
    15021 sysv4*MP*)
    15022   if test -d /usr/nec ;then
    15023     version_type=linux
    15024     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    15025     soname_spec='$libname${shared_ext}.$major'
    15026     shlibpath_var=LD_LIBRARY_PATH
    15027   fi
    15028   ;;
    15029 
    15030 uts4*)
    15031   version_type=linux
    15032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15033   soname_spec='${libname}${release}${shared_ext}$major'
    15034   shlibpath_var=LD_LIBRARY_PATH
    15035   ;;
    15036 
    15037 *)
    15038   dynamic_linker=no
    15039   ;;
    15040 esac
    15041 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    15042 echo "${ECHO_T}$dynamic_linker" >&6
    15043 test "$dynamic_linker" = no && can_build_shared=no
    15044 
    15045 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    15046 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
    15047 hardcode_action_F77=
    15048 if test -n "$hardcode_libdir_flag_spec_F77" || \
    15049    test -n "$runpath_var F77" || \
    15050    test "X$hardcode_automatic_F77"="Xyes" ; then
    15051 
    15052   # We can hardcode non-existant directories.
    15053   if test "$hardcode_direct_F77" != no &&
    15054      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    15055      # have to relink, otherwise we might link with an installed library
    15056      # when we should be linking with a yet-to-be-installed one
    15057      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
    15058      test "$hardcode_minus_L_F77" != no; then
    15059     # Linking always hardcodes the temporary library directory.
    15060     hardcode_action_F77=relink
    15061   else
    15062     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    15063     hardcode_action_F77=immediate
    15064   fi
    15065 else
    15066   # We cannot hardcode anything, or else we can only hardcode existing
    15067   # directories.
    15068   hardcode_action_F77=unsupported
    15069 fi
    15070 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
    15071 echo "${ECHO_T}$hardcode_action_F77" >&6
    15072 
    15073 if test "$hardcode_action_F77" = relink; then
    15074   # Fast installation is not supported
    15075   enable_fast_install=no
    15076 elif test "$shlibpath_overrides_runpath" = yes ||
    15077      test "$enable_shared" = no; then
    15078   # Fast installation is not necessary
    15079   enable_fast_install=needless
    15080 fi
    15081 
    15082 striplib=
    15083 old_striplib=
    15084 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
    15085 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
    15086 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
    15087   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    15088   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    15089   echo "$as_me:$LINENO: result: yes" >&5
    15090 echo "${ECHO_T}yes" >&6
    15091 else
    15092 # FIXME - insert some real tests, host_os isn't really good enough
    15093   case $host_os in
    15094    darwin*)
    15095        if test -n "$STRIP" ; then
    15096          striplib="$STRIP -x"
    15097          echo "$as_me:$LINENO: result: yes" >&5
    15098 echo "${ECHO_T}yes" >&6
    15099        else
    15100   echo "$as_me:$LINENO: result: no" >&5
    15101 echo "${ECHO_T}no" >&6
    15102 fi
    15103        ;;
    15104    *)
    15105   echo "$as_me:$LINENO: result: no" >&5
    15106 echo "${ECHO_T}no" >&6
    15107     ;;
    15108   esac
    15109 fi
    15110 
    15111 
    15112 
    15113 # The else clause should only fire when bootstrapping the
    15114 # libtool distribution, otherwise you forgot to ship ltmain.sh
    15115 # with your package, and you will get complaints that there are
    15116 # no rules to generate ltmain.sh.
    15117 if test -f "$ltmain"; then
    15118   # See if we are running on zsh, and set the options which allow our commands through
    15119   # without removal of \ escapes.
    15120   if test -n "${ZSH_VERSION+set}" ; then
    15121     setopt NO_GLOB_SUBST
    15122   fi
    15123   # Now quote all the things that may contain metacharacters while being
    15124   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    15125   # variables and quote the copies for generation of the libtool script.
    15126   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
    15127     SED SHELL STRIP \
    15128     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    15129     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    15130     deplibs_check_method reload_flag reload_cmds need_locks \
    15131     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    15132     lt_cv_sys_global_symbol_to_c_name_address \
    15133     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    15134     old_postinstall_cmds old_postuninstall_cmds \
    15135     compiler_F77 \
    15136     CC_F77 \
    15137     LD_F77 \
    15138     lt_prog_compiler_wl_F77 \
    15139     lt_prog_compiler_pic_F77 \
    15140     lt_prog_compiler_static_F77 \
    15141     lt_prog_compiler_no_builtin_flag_F77 \
    15142     export_dynamic_flag_spec_F77 \
    15143     thread_safe_flag_spec_F77 \
    15144     whole_archive_flag_spec_F77 \
    15145     enable_shared_with_static_runtimes_F77 \
    15146     old_archive_cmds_F77 \
    15147     old_archive_from_new_cmds_F77 \
    15148     predep_objects_F77 \
    15149     postdep_objects_F77 \
    15150     predeps_F77 \
    15151     postdeps_F77 \
    15152     compiler_lib_search_path_F77 \
    15153     archive_cmds_F77 \
    15154     archive_expsym_cmds_F77 \
    15155     postinstall_cmds_F77 \
    15156     postuninstall_cmds_F77 \
    15157     old_archive_from_expsyms_cmds_F77 \
    15158     allow_undefined_flag_F77 \
    15159     no_undefined_flag_F77 \
    15160     export_symbols_cmds_F77 \
    15161     hardcode_libdir_flag_spec_F77 \
    15162     hardcode_libdir_flag_spec_ld_F77 \
    15163     hardcode_libdir_separator_F77 \
    15164     hardcode_automatic_F77 \
    15165     module_cmds_F77 \
    15166     module_expsym_cmds_F77 \
    15167     lt_cv_prog_compiler_c_o_F77 \
    15168     exclude_expsyms_F77 \
    15169     include_expsyms_F77; do
    15170 
    15171     case $var in
    15172     old_archive_cmds_F77 | \
    15173     old_archive_from_new_cmds_F77 | \
    15174     archive_cmds_F77 | \
    15175     archive_expsym_cmds_F77 | \
    15176     module_cmds_F77 | \
    15177     module_expsym_cmds_F77 | \
    15178     old_archive_from_expsyms_cmds_F77 | \
    15179     export_symbols_cmds_F77 | \
    15180     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    15181     postinstall_cmds | postuninstall_cmds | \
    15182     old_postinstall_cmds | old_postuninstall_cmds | \
    15183     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    15184       # Double-quote double-evaled strings.
    15185       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    15186       ;;
    15187     *)
    15188       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    15189       ;;
    15190     esac
    15191   done
    15192 
    15193   case $lt_echo in
    15194   *'\$0 --fallback-echo"')
    15195     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    15196     ;;
    15197   esac
    15198 
    15199 cfgfile="$ofile"
    15200 
    15201   cat <<__EOF__ >> "$cfgfile"
    15202 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    15203 
    15204 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    15205 
    15206 # Shell to use when invoking shell scripts.
    15207 SHELL=$lt_SHELL
    15208 
    15209 # Whether or not to build shared libraries.
    15210 build_libtool_libs=$enable_shared
    15211 
    15212 # Whether or not to build static libraries.
    15213 build_old_libs=$enable_static
    15214 
    15215 # Whether or not to add -lc for building shared libraries.
    15216 build_libtool_need_lc=$archive_cmds_need_lc_F77
    15217 
    15218 # Whether or not to disallow shared libs when runtime libs are static
    15219 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
    15220 
    15221 # Whether or not to optimize for fast installation.
    15222 fast_install=$enable_fast_install
    15223 
    15224 # The host system.
    15225 host_alias=$host_alias
    15226 host=$host
    15227 
    15228 # An echo program that does not interpret backslashes.
    15229 echo=$lt_echo
    15230 
    15231 # The archiver.
    15232 AR=$lt_AR
    15233 AR_FLAGS=$lt_AR_FLAGS
    15234 
    15235 # A C compiler.
    15236 LTCC=$lt_LTCC
    15237 
    15238 # A language-specific compiler.
    15239 CC=$lt_compiler_F77
    15240 
    15241 # Is the compiler the GNU C compiler?
    15242 with_gcc=$GCC_F77
    15243 
    15244 # An ERE matcher.
    15245 EGREP=$lt_EGREP
    15246 
    15247 # The linker used to build libraries.
    15248 LD=$lt_LD_F77
    15249 
    15250 # Whether we need hard or soft links.
    15251 LN_S=$lt_LN_S
    15252 
    15253 # A BSD-compatible nm program.
    15254 NM=$lt_NM
    15255 
    15256 # A symbol stripping program
    15257 STRIP=$lt_STRIP
    15258 
    15259 # Used to examine libraries when file_magic_cmd begins "file"
    15260 MAGIC_CMD=$MAGIC_CMD
    15261 
    15262 # Used on cygwin: DLL creation program.
    15263 DLLTOOL="$DLLTOOL"
    15264 
    15265 # Used on cygwin: object dumper.
    15266 OBJDUMP="$OBJDUMP"
    15267 
    15268 # Used on cygwin: assembler.
    15269 AS="$AS"
    15270 
    15271 # The name of the directory that contains temporary libtool files.
    15272 objdir=$objdir
    15273 
    15274 # How to create reloadable object files.
    15275 reload_flag=$lt_reload_flag
    15276 reload_cmds=$lt_reload_cmds
    15277 
    15278 # How to pass a linker flag through the compiler.
    15279 wl=$lt_lt_prog_compiler_wl_F77
    15280 
    15281 # Object file suffix (normally "o").
    15282 objext="$ac_objext"
    15283 
    15284 # Old archive suffix (normally "a").
    15285 libext="$libext"
    15286 
    15287 # Shared library suffix (normally ".so").
    15288 shrext_cmds='$shrext_cmds'
    15289 
    15290 # Executable file suffix (normally "").
    15291 exeext="$exeext"
    15292 
    15293 # Additional compiler flags for building library objects.
    15294 pic_flag=$lt_lt_prog_compiler_pic_F77
    15295 pic_mode=$pic_mode
    15296 
    15297 # What is the maximum length of a command?
    15298 max_cmd_len=$lt_cv_sys_max_cmd_len
    15299 
    15300 # Does compiler simultaneously support -c and -o options?
    15301 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
    15302 
    15303 # Must we lock files when doing compilation ?
    15304 need_locks=$lt_need_locks
    15305 
    15306 # Do we need the lib prefix for modules?
    15307 need_lib_prefix=$need_lib_prefix
    15308 
    15309 # Do we need a version for libraries?
    15310 need_version=$need_version
    15311 
    15312 # Whether dlopen is supported.
    15313 dlopen_support=$enable_dlopen
    15314 
    15315 # Whether dlopen of programs is supported.
    15316 dlopen_self=$enable_dlopen_self
    15317 
    15318 # Whether dlopen of statically linked programs is supported.
    15319 dlopen_self_static=$enable_dlopen_self_static
    15320 
    15321 # Compiler flag to prevent dynamic linking.
    15322 link_static_flag=$lt_lt_prog_compiler_static_F77
    15323 
    15324 # Compiler flag to turn off builtin functions.
    15325 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
    15326 
    15327 # Compiler flag to allow reflexive dlopens.
    15328 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
    15329 
    15330 # Compiler flag to generate shared objects directly from archives.
    15331 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
    15332 
    15333 # Compiler flag to generate thread-safe objects.
    15334 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
    15335 
    15336 # Library versioning type.
    15337 version_type=$version_type
    15338 
    15339 # Format of library name prefix.
    15340 libname_spec=$lt_libname_spec
    15341 
    15342 # List of archive names.  First name is the real one, the rest are links.
    15343 # The last name is the one that the linker finds with -lNAME.
    15344 library_names_spec=$lt_library_names_spec
    15345 
    15346 # The coded name of the library, if different from the real name.
    15347 soname_spec=$lt_soname_spec
    15348 
    15349 # Commands used to build and install an old-style archive.
    15350 RANLIB=$lt_RANLIB
    15351 old_archive_cmds=$lt_old_archive_cmds_F77
    15352 old_postinstall_cmds=$lt_old_postinstall_cmds
    15353 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    15354 
    15355 # Create an old-style archive from a shared archive.
    15356 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
    15357 
    15358 # Create a temporary old-style archive to link instead of a shared archive.
    15359 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
    15360 
    15361 # Commands used to build and install a shared archive.
    15362 archive_cmds=$lt_archive_cmds_F77
    15363 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
    15364 postinstall_cmds=$lt_postinstall_cmds
    15365 postuninstall_cmds=$lt_postuninstall_cmds
    15366 
    15367 # Commands used to build a loadable module (assumed same as above if empty)
    15368 module_cmds=$lt_module_cmds_F77
    15369 module_expsym_cmds=$lt_module_expsym_cmds_F77
    15370 
    15371 # Commands to strip libraries.
    15372 old_striplib=$lt_old_striplib
    15373 striplib=$lt_striplib
    15374 
    15375 # Dependencies to place before the objects being linked to create a
    15376 # shared library.
    15377 predep_objects=$lt_predep_objects_F77
    15378 
    15379 # Dependencies to place after the objects being linked to create a
    15380 # shared library.
    15381 postdep_objects=$lt_postdep_objects_F77
    15382 
    15383 # Dependencies to place before the objects being linked to create a
    15384 # shared library.
    15385 predeps=$lt_predeps_F77
    15386 
    15387 # Dependencies to place after the objects being linked to create a
    15388 # shared library.
    15389 postdeps=$lt_postdeps_F77
    15390 
    15391 # The library search path used internally by the compiler when linking
    15392 # a shared library.
    15393 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
    15394 
    15395 # Method to check whether dependent libraries are shared objects.
    15396 deplibs_check_method=$lt_deplibs_check_method
    15397 
    15398 # Command to use when deplibs_check_method == file_magic.
    15399 file_magic_cmd=$lt_file_magic_cmd
    15400 
    15401 # Flag that allows shared libraries with undefined symbols to be built.
    15402 allow_undefined_flag=$lt_allow_undefined_flag_F77
    15403 
    15404 # Flag that forces no undefined symbols.
    15405 no_undefined_flag=$lt_no_undefined_flag_F77
    15406 
    15407 # Commands used to finish a libtool library installation in a directory.
    15408 finish_cmds=$lt_finish_cmds
    15409 
    15410 # Same as above, but a single script fragment to be evaled but not shown.
    15411 finish_eval=$lt_finish_eval
    15412 
    15413 # Take the output of nm and produce a listing of raw symbols and C names.
    15414 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    15415 
    15416 # Transform the output of nm in a proper C declaration
    15417 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    15418 
    15419 # Transform the output of nm in a C name address pair
    15420 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    15421 
    15422 # This is the shared library runtime path variable.
    15423 runpath_var=$runpath_var
    15424 
    15425 # This is the shared library path variable.
    15426 shlibpath_var=$shlibpath_var
    15427 
    15428 # Is shlibpath searched before the hard-coded library search path?
    15429 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    15430 
    15431 # How to hardcode a shared library path into an executable.
    15432 hardcode_action=$hardcode_action_F77
    15433 
    15434 # Whether we should hardcode library paths into libraries.
    15435 hardcode_into_libs=$hardcode_into_libs
    15436 
    15437 # Flag to hardcode \$libdir into a binary during linking.
    15438 # This must work even if \$libdir does not exist.
    15439 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
    15440 
    15441 # If ld is used when linking, flag to hardcode \$libdir into
    15442 # a binary during linking. This must work even if \$libdir does
    15443 # not exist.
    15444 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
    15445 
    15446 # Whether we need a single -rpath flag with a separated argument.
    15447 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
    15448 
    15449 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    15450 # resulting binary.
    15451 hardcode_direct=$hardcode_direct_F77
    15452 
    15453 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    15454 # resulting binary.
    15455 hardcode_minus_L=$hardcode_minus_L_F77
    15456 
    15457 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    15458 # the resulting binary.
    15459 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
    15460 
    15461 # Set to yes if building a shared library automatically hardcodes DIR into the library
    15462 # and all subsequent libraries and executables linked against it.
    15463 hardcode_automatic=$hardcode_automatic_F77
    15464 
    15465 # Variables whose values should be saved in libtool wrapper scripts and
    15466 # restored at relink time.
    15467 variables_saved_for_relink="$variables_saved_for_relink"
    15468 
    15469 # Whether libtool must link a program against all its dependency libraries.
    15470 link_all_deplibs=$link_all_deplibs_F77
    15471 
    15472 # Compile-time system search path for libraries
    15473 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    15474 
    15475 # Run-time system search path for libraries
    15476 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    15477 
    15478 # Fix the shell variable \$srcfile for the compiler.
    15479 fix_srcfile_path="$fix_srcfile_path_F77"
    15480 
    15481 # Set to yes if exported symbols are required.
    15482 always_export_symbols=$always_export_symbols_F77
    15483 
    15484 # The commands to list exported symbols.
    15485 export_symbols_cmds=$lt_export_symbols_cmds_F77
    15486 
    15487 # The commands to extract the exported symbol list from a shared archive.
    15488 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    15489 
    15490 # Symbols that should not be listed in the preloaded symbols.
    15491 exclude_expsyms=$lt_exclude_expsyms_F77
    15492 
    15493 # Symbols that must always be exported.
    15494 include_expsyms=$lt_include_expsyms_F77
    15495 
    15496 # ### END LIBTOOL TAG CONFIG: $tagname
    15497 
    15498 __EOF__
    15499 
    15500 
    15501 else
    15502   # If there is no Makefile yet, we rely on a make rule to execute
    15503   # `config.status --recheck' to rerun these tests and create the
    15504   # libtool script then.
    15505   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    15506   if test -f "$ltmain_in"; then
    15507     test -f Makefile && make "$ltmain"
    15508   fi
    15509 fi
    15510 
    15511 
    15512 ac_ext=c
    15513 ac_cpp='$CPP $CPPFLAGS'
    15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    15517 
    15518 CC="$lt_save_CC"
    15519 
    15520         else
    15521           tagname=""
    15522         fi
    15523         ;;
    15524 
    15525       GCJ)
    15526         if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
    15527 
    15528 
    15529 
    15530 # Source file extension for Java test sources.
    15531 ac_ext=java
    15532 
    15533 # Object file extension for compiled Java test sources.
    15534 objext=o
    15535 objext_GCJ=$objext
    15536 
    15537 # Code to be used in simple compile tests
    15538 lt_simple_compile_test_code="class foo {}\n"
    15539 
    15540 # Code to be used in simple link tests
    15541 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
    15542 
    15543 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    15544 
    15545 # If no C compiler was specified, use CC.
    15546 LTCC=${LTCC-"$CC"}
    15547 
    15548 # Allow CC to be a program name with arguments.
    15549 compiler=$CC
    15550 
    15551 
    15552 # Allow CC to be a program name with arguments.
    15553 lt_save_CC="$CC"
    15554 CC=${GCJ-"gcj"}
    15555 compiler=$CC
    15556 compiler_GCJ=$CC
    15557 
    15558 # GCJ did not exist at the time GCC didn't implicitly link libc in.
    15559 archive_cmds_need_lc_GCJ=no
    15560 
    15561 
    15562 lt_prog_compiler_no_builtin_flag_GCJ=
    15563 
    15564 if test "$GCC" = yes; then
    15565   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
    15566 
    15567 
    15568 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    15569 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
    15570 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
    15571   echo $ECHO_N "(cached) $ECHO_C" >&6
    15572 else
    15573   lt_cv_prog_compiler_rtti_exceptions=no
    15574   ac_outfile=conftest.$ac_objext
    15575    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    15576    lt_compiler_flag="-fno-rtti -fno-exceptions"
    15577    # Insert the option either (1) after the last *FLAGS variable, or
    15578    # (2) before a word containing "conftest.", or (3) at the end.
    15579    # Note that $ac_compile itself does not contain backslashes and begins
    15580    # with a dollar sign (not a hyphen), so the echo should work correctly.
    15581    # The option is referenced via a variable to avoid confusing sed.
    15582    lt_compile=`echo "$ac_compile" | $SED \
    15583    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    15584    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    15585    -e 's:$: $lt_compiler_flag:'`
    15586    (eval echo "\"\$as_me:15586: $lt_compile\"" >&5)
    15587    (eval "$lt_compile" 2>conftest.err)
    15588    ac_status=$?
    15589    cat conftest.err >&5
    15590    echo "$as_me:15590: \$? = $ac_status" >&5
    15591    if (exit $ac_status) && test -s "$ac_outfile"; then
    15592      # The compiler can only warn and ignore the option if not recognized
    15593      # So say no if there are warnings
    15594      if test ! -s conftest.err; then
    15595        lt_cv_prog_compiler_rtti_exceptions=yes
    15596      fi
    15597    fi
    15598    $rm conftest*
    15599 
    15600 fi
    15601 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    15602 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
    15603 
    15604 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
    15605     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
    15606 else
    15607     :
    15608 fi
    15609 
    15610 fi
    15611 
    15612 lt_prog_compiler_wl_GCJ=
    15613 lt_prog_compiler_pic_GCJ=
    15614 lt_prog_compiler_static_GCJ=
    15615 
    15616 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    15617 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    15618 
    15619   if test "$GCC" = yes; then
    15620     lt_prog_compiler_wl_GCJ='-Wl,'
    15621     lt_prog_compiler_static_GCJ='-static'
    15622 
    15623     case $host_os in
    15624       aix*)
    15625       # All AIX code is PIC.
    15626       if test "$host_cpu" = ia64; then
    15627         # AIX 5 now supports IA64 processor
    15628         lt_prog_compiler_static_GCJ='-Bstatic'
    15629       fi
    15630       ;;
    15631 
    15632     amigaos*)
    15633       # FIXME: we need at least 68020 code to build shared libraries, but
    15634       # adding the `-m68020' flag to GCC prevents building anything better,
    15635       # like `-m68040'.
    15636       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
    15637       ;;
    15638 
    15639     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    15640       # PIC is the default for these OSes.
    15641       ;;
    15642 
    15643     mingw* | pw32* | os2*)
    15644       # This hack is so that the source file can tell whether it is being
    15645       # built for inclusion in a dll (and should export symbols for example).
    15646       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
    15647       ;;
    15648 
    15649     darwin* | rhapsody*)
    15650       # PIC is the default on this platform
    15651       # Common symbols not allowed in MH_DYLIB files
    15652       lt_prog_compiler_pic_GCJ='-fno-common'
    15653       ;;
    15654 
    15655     msdosdjgpp*)
    15656       # Just because we use GCC doesn't mean we suddenly get shared libraries
    15657       # on systems that don't support them.
    15658       lt_prog_compiler_can_build_shared_GCJ=no
    15659       enable_shared=no
    15660       ;;
    15661 
    15662     sysv4*MP*)
    15663       if test -d /usr/nec; then
    15664         lt_prog_compiler_pic_GCJ=-Kconform_pic
    15665       fi
    15666       ;;
    15667 
    15668     hpux*)
    15669       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    15670       # not for PA HP-UX.
    15671       case "$host_cpu" in
    15672       hppa*64*|ia64*)
    15673         # +Z the default
    15674         ;;
    15675       *)
    15676         lt_prog_compiler_pic_GCJ='-fPIC'
    15677         ;;
    15678       esac
    15679       ;;
    15680 
    15681     *)
    15682       lt_prog_compiler_pic_GCJ='-fPIC'
    15683       ;;
    15684     esac
    15685   else
    15686     # PORTME Check for flag to pass linker flags through the system compiler.
    15687     case $host_os in
    15688     aix*)
    15689       lt_prog_compiler_wl_GCJ='-Wl,'
    15690       if test "$host_cpu" = ia64; then
    15691         # AIX 5 now supports IA64 processor
    15692         lt_prog_compiler_static_GCJ='-Bstatic'
    15693       else
    15694         lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
    15695       fi
    15696       ;;
    15697 
    15698     mingw* | pw32* | os2*)
    15699       # This hack is so that the source file can tell whether it is being
    15700       # built for inclusion in a dll (and should export symbols for example).
    15701       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
    15702       ;;
    15703 
    15704     hpux9* | hpux10* | hpux11*)
    15705       lt_prog_compiler_wl_GCJ='-Wl,'
    15706       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    15707       # not for PA HP-UX.
    15708       case "$host_cpu" in
    15709       hppa*64*|ia64*)
    15710         # +Z the default
    15711         ;;
    15712       *)
    15713         lt_prog_compiler_pic_GCJ='+Z'
    15714         ;;
    15715       esac
    15716       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    15717       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
    15718       ;;
    15719 
    15720     irix5* | irix6* | nonstopux*)
    15721       lt_prog_compiler_wl_GCJ='-Wl,'
    15722       # PIC (with -KPIC) is the default.
    15723       lt_prog_compiler_static_GCJ='-non_shared'
    15724       ;;
    15725 
    15726     newsos6)
    15727       lt_prog_compiler_pic_GCJ='-KPIC'
    15728       lt_prog_compiler_static_GCJ='-Bstatic'
    15729       ;;
    15730 
    15731     linux*)
    15732       case $CC in
    15733       icc* | ecc*)
    15734         lt_prog_compiler_wl_GCJ='-Wl,'
    15735         lt_prog_compiler_pic_GCJ='-KPIC'
    15736         lt_prog_compiler_static_GCJ='-static'
    15737         ;;
    15738       ccc*)
    15739         lt_prog_compiler_wl_GCJ='-Wl,'
    15740         # All Alpha code is PIC.
    15741         lt_prog_compiler_static_GCJ='-non_shared'
    15742         ;;
    15743       esac
    15744       ;;
    15745 
    15746     osf3* | osf4* | osf5*)
    15747       lt_prog_compiler_wl_GCJ='-Wl,'
    15748       # All OSF/1 code is PIC.
    15749       lt_prog_compiler_static_GCJ='-non_shared'
    15750       ;;
    15751 
    15752     sco3.2v5*)
    15753       lt_prog_compiler_pic_GCJ='-Kpic'
    15754       lt_prog_compiler_static_GCJ='-dn'
    15755       ;;
    15756 
    15757     solaris*)
    15758       lt_prog_compiler_wl_GCJ='-Wl,'
    15759       lt_prog_compiler_pic_GCJ='-KPIC'
    15760       lt_prog_compiler_static_GCJ='-Bstatic'
    15761       ;;
    15762 
    15763     sunos4*)
    15764       lt_prog_compiler_wl_GCJ='-Qoption ld '
    15765       lt_prog_compiler_pic_GCJ='-PIC'
    15766       lt_prog_compiler_static_GCJ='-Bstatic'
    15767       ;;
    15768 
    15769     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    15770       lt_prog_compiler_wl_GCJ='-Wl,'
    15771       lt_prog_compiler_pic_GCJ='-KPIC'
    15772       lt_prog_compiler_static_GCJ='-Bstatic'
    15773       ;;
    15774 
    15775     sysv4*MP*)
    15776       if test -d /usr/nec ;then
    15777         lt_prog_compiler_pic_GCJ='-Kconform_pic'
    15778         lt_prog_compiler_static_GCJ='-Bstatic'
    15779       fi
    15780       ;;
    15781 
    15782     uts4*)
    15783       lt_prog_compiler_pic_GCJ='-pic'
    15784       lt_prog_compiler_static_GCJ='-Bstatic'
    15785       ;;
    15786 
    15787     *)
    15788       lt_prog_compiler_can_build_shared_GCJ=no
    15789       ;;
    15790     esac
    15791   fi
    15792 
    15793 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
    15794 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
    15795 
    15796 #
    15797 # Check to make sure the PIC flag actually works.
    15798 #
    15799 if test -n "$lt_prog_compiler_pic_GCJ"; then
    15800 
    15801 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
    15802 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
    15803 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
    15804   echo $ECHO_N "(cached) $ECHO_C" >&6
    15805 else
    15806   lt_prog_compiler_pic_works_GCJ=no
    15807   ac_outfile=conftest.$ac_objext
    15808    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    15809    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
    15810    # Insert the option either (1) after the last *FLAGS variable, or
    15811    # (2) before a word containing "conftest.", or (3) at the end.
    15812    # Note that $ac_compile itself does not contain backslashes and begins
    15813    # with a dollar sign (not a hyphen), so the echo should work correctly.
    15814    # The option is referenced via a variable to avoid confusing sed.
    15815    lt_compile=`echo "$ac_compile" | $SED \
    15816    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    15817    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    15818    -e 's:$: $lt_compiler_flag:'`
    15819    (eval echo "\"\$as_me:15819: $lt_compile\"" >&5)
    15820    (eval "$lt_compile" 2>conftest.err)
    15821    ac_status=$?
    15822    cat conftest.err >&5
    15823    echo "$as_me:15823: \$? = $ac_status" >&5
    15824    if (exit $ac_status) && test -s "$ac_outfile"; then
    15825      # The compiler can only warn and ignore the option if not recognized
    15826      # So say no if there are warnings
    15827      if test ! -s conftest.err; then
    15828        lt_prog_compiler_pic_works_GCJ=yes
    15829      fi
    15830    fi
    15831    $rm conftest*
    15832 
    15833 fi
    15834 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
    15835 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
    15836 
    15837 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
    15838     case $lt_prog_compiler_pic_GCJ in
    15839      "" | " "*) ;;
    15840      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
    15841      esac
    15842 else
    15843     lt_prog_compiler_pic_GCJ=
    15844      lt_prog_compiler_can_build_shared_GCJ=no
    15845 fi
    15846 
    15847 fi
    15848 case "$host_os" in
    15849   # For platforms which do not support PIC, -DPIC is meaningless:
    15850   *djgpp*)
    15851     lt_prog_compiler_pic_GCJ=
    15852     ;;
    15853   *)
    15854     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
    15855     ;;
    15856 esac
    15857 
    15858 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    15859 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    15860 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
    15861   echo $ECHO_N "(cached) $ECHO_C" >&6
    15862 else
    15863   lt_cv_prog_compiler_c_o_GCJ=no
    15864    $rm -r conftest 2>/dev/null
    15865    mkdir conftest
    15866    cd conftest
    15867    mkdir out
    15868    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    15869 
    15870    lt_compiler_flag="-o out/conftest2.$ac_objext"
    15871    # Insert the option either (1) after the last *FLAGS variable, or
    15872    # (2) before a word containing "conftest.", or (3) at the end.
    15873    # Note that $ac_compile itself does not contain backslashes and begins
    15874    # with a dollar sign (not a hyphen), so the echo should work correctly.
    15875    lt_compile=`echo "$ac_compile" | $SED \
    15876    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    15877    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    15878    -e 's:$: $lt_compiler_flag:'`
    15879    (eval echo "\"\$as_me:15879: $lt_compile\"" >&5)
    15880    (eval "$lt_compile" 2>out/conftest.err)
    15881    ac_status=$?
    15882    cat out/conftest.err >&5
    15883    echo "$as_me:15883: \$? = $ac_status" >&5
    15884    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    15885    then
    15886      # The compiler can only warn and ignore the option if not recognized
    15887      # So say no if there are warnings
    15888      if test ! -s out/conftest.err; then
    15889        lt_cv_prog_compiler_c_o_GCJ=yes
    15890      fi
    15891    fi
    15892    chmod u+w .
    15893    $rm conftest*
    15894    # SGI C++ compiler will create directory out/ii_files/ for
    15895    # template instantiation
    15896    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
    15897    $rm out/* && rmdir out
    15898    cd ..
    15899    rmdir conftest
    15900    $rm conftest*
    15901 
    15902 fi
    15903 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
    15904 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
    15905 
    15906 
    15907 hard_links="nottested"
    15908 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
    15909   # do not overwrite the value of need_locks provided by the user
    15910   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
    15911 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
    15912   hard_links=yes
    15913   $rm conftest*
    15914   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    15915   touch conftest.a
    15916   ln conftest.a conftest.b 2>&5 || hard_links=no
    15917   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    15918   echo "$as_me:$LINENO: result: $hard_links" >&5
    15919 echo "${ECHO_T}$hard_links" >&6
    15920   if test "$hard_links" = no; then
    15921     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    15922 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
    15923     need_locks=warn
    15924   fi
    15925 else
    15926   need_locks=no
    15927 fi
    15928 
    15929 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    15930 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
    15931 
    15932   runpath_var=
    15933   allow_undefined_flag_GCJ=
    15934   enable_shared_with_static_runtimes_GCJ=no
    15935   archive_cmds_GCJ=
    15936   archive_expsym_cmds_GCJ=
    15937   old_archive_From_new_cmds_GCJ=
    15938   old_archive_from_expsyms_cmds_GCJ=
    15939   export_dynamic_flag_spec_GCJ=
    15940   whole_archive_flag_spec_GCJ=
    15941   thread_safe_flag_spec_GCJ=
    15942   hardcode_libdir_flag_spec_GCJ=
    15943   hardcode_libdir_flag_spec_ld_GCJ=
    15944   hardcode_libdir_separator_GCJ=
    15945   hardcode_direct_GCJ=no
    15946   hardcode_minus_L_GCJ=no
    15947   hardcode_shlibpath_var_GCJ=unsupported
    15948   link_all_deplibs_GCJ=unknown
    15949   hardcode_automatic_GCJ=no
    15950   module_cmds_GCJ=
    15951   module_expsym_cmds_GCJ=
    15952   always_export_symbols_GCJ=no
    15953   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    15954   # include_expsyms should be a list of space-separated symbols to be *always*
    15955   # included in the symbol list
    15956   include_expsyms_GCJ=
    15957   # exclude_expsyms can be an extended regexp of symbols to exclude
    15958   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    15959   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    15960   # as well as any symbol that contains `d'.
    15961   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
    15962   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    15963   # platforms (ab)use it in PIC code, but their linkers get confused if
    15964   # the symbol is explicitly referenced.  Since portable code cannot
    15965   # rely on this symbol name, it's probably fine to never include it in
    15966   # preloaded symbol tables.
    15967   extract_expsyms_cmds=
    15968 
    15969   case $host_os in
    15970   cygwin* | mingw* | pw32*)
    15971     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    15972     # When not using gcc, we currently assume that we are using
    15973     # Microsoft Visual C++.
    15974     if test "$GCC" != yes; then
    15975       with_gnu_ld=no
    15976     fi
    15977     ;;
    15978   openbsd*)
    15979     with_gnu_ld=no
    15980     ;;
    15981   esac
    15982 
    15983   ld_shlibs_GCJ=yes
    15984   if test "$with_gnu_ld" = yes; then
    15985     # If archive_cmds runs LD, not CC, wlarc should be empty
    15986     wlarc='${wl}'
    15987 
    15988     # See if GNU ld supports shared libraries.
    15989     case $host_os in
    15990     aix3* | aix4* | aix5*)
    15991       # On AIX/PPC, the GNU linker is very broken
    15992       if test "$host_cpu" != ia64; then
    15993         ld_shlibs_GCJ=no
    15994         cat <<EOF 1>&2
    15995 
    15996 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
    15997 *** to be unable to reliably create shared libraries on AIX.
    15998 *** Therefore, libtool is disabling shared libraries support.  If you
    15999 *** really care for shared libraries, you may want to modify your PATH
    16000 *** so that a non-GNU linker is found, and then restart.
    16001 
    16002 EOF
    16003       fi
    16004       ;;
    16005 
    16006     amigaos*)
    16007       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
    16008       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16009       hardcode_minus_L_GCJ=yes
    16010 
    16011       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    16012       # that the semantics of dynamic libraries on AmigaOS, at least up
    16013       # to version 4, is to share data among multiple programs linked
    16014       # with the same dynamic library.  Since this doesn't match the
    16015       # behavior of shared libraries on other platforms, we can't use
    16016       # them.
    16017       ld_shlibs_GCJ=no
    16018       ;;
    16019 
    16020     beos*)
    16021       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16022         allow_undefined_flag_GCJ=unsupported
    16023         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    16024         # support --undefined.  This deserves some investigation.  FIXME
    16025         archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16026       else
    16027         ld_shlibs_GCJ=no
    16028       fi
    16029       ;;
    16030 
    16031     cygwin* | mingw* | pw32*)
    16032       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
    16033       # as there is no search path for DLLs.
    16034       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16035       allow_undefined_flag_GCJ=unsupported
    16036       always_export_symbols_GCJ=no
    16037       enable_shared_with_static_runtimes_GCJ=yes
    16038       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
    16039 
    16040       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
    16041         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
    16042         # If the export-symbols file already is a .def file (1st line
    16043         # is EXPORTS), use it as is; otherwise, prepend...
    16044         archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    16045           cp $export_symbols $output_objdir/$soname.def;
    16046         else
    16047           echo EXPORTS > $output_objdir/$soname.def;
    16048           cat $export_symbols >> $output_objdir/$soname.def;
    16049         fi~
    16050         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
    16051       else
    16052         ld_shlibs=no
    16053       fi
    16054       ;;
    16055 
    16056     netbsd*)
    16057       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    16058         archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    16059         wlarc=
    16060       else
    16061         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16062         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    16063       fi
    16064       ;;
    16065 
    16066     solaris* | sysv5*)
    16067       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
    16068         ld_shlibs_GCJ=no
    16069         cat <<EOF 1>&2
    16070 
    16071 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
    16072 *** create shared libraries on Solaris systems.  Therefore, libtool
    16073 *** is disabling shared libraries support.  We urge you to upgrade GNU
    16074 *** binutils to release 2.9.1 or newer.  Another option is to modify
    16075 *** your PATH or compiler configuration so that the native linker is
    16076 *** used, and then restart.
    16077 
    16078 EOF
    16079       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16080         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16081         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    16082       else
    16083         ld_shlibs_GCJ=no
    16084       fi
    16085       ;;
    16086 
    16087     sunos4*)
    16088       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    16089       wlarc=
    16090       hardcode_direct_GCJ=yes
    16091       hardcode_shlibpath_var_GCJ=no
    16092       ;;
    16093 
    16094   linux*)
    16095     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16096         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16097         archive_cmds_GCJ="$tmp_archive_cmds"
    16098       supports_anon_versioning=no
    16099       case `$LD -v 2>/dev/null` in
    16100         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    16101         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    16102         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    16103         *\ 2.11.*) ;; # other 2.11 versions
    16104         *) supports_anon_versioning=yes ;;
    16105       esac
    16106       if test $supports_anon_versioning = yes; then
    16107         archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
    16108 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    16109 $echo "local: *; };" >> $output_objdir/$libname.ver~
    16110         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    16111       else
    16112         archive_expsym_cmds_GCJ="$tmp_archive_cmds"
    16113       fi
    16114     else
    16115       ld_shlibs_GCJ=no
    16116     fi
    16117     ;;
    16118 
    16119     *)
    16120       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    16121         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    16122         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    16123       else
    16124         ld_shlibs_GCJ=no
    16125       fi
    16126       ;;
    16127     esac
    16128 
    16129     if test "$ld_shlibs_GCJ" = yes; then
    16130       runpath_var=LD_RUN_PATH
    16131       hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
    16132       export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
    16133       # ancient GNU ld didn't support --whole-archive et. al.
    16134       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
    16135         whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
    16136       else
    16137         whole_archive_flag_spec_GCJ=
    16138       fi
    16139     fi
    16140   else
    16141     # PORTME fill in a description of your system's linker (not GNU ld)
    16142     case $host_os in
    16143     aix3*)
    16144       allow_undefined_flag_GCJ=unsupported
    16145       always_export_symbols_GCJ=yes
    16146       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
    16147       # Note: this linker hardcodes the directories in LIBPATH if there
    16148       # are no directories specified by -L.
    16149       hardcode_minus_L_GCJ=yes
    16150       if test "$GCC" = yes && test -z "$link_static_flag"; then
    16151         # Neither direct hardcoding nor static linking is supported with a
    16152         # broken collect2.
    16153         hardcode_direct_GCJ=unsupported
    16154       fi
    16155       ;;
    16156 
    16157     aix4* | aix5*)
    16158       if test "$host_cpu" = ia64; then
    16159         # On IA64, the linker does run time linking by default, so we don't
    16160         # have to do anything special.
    16161         aix_use_runtimelinking=no
    16162         exp_sym_flag='-Bexport'
    16163         no_entry_flag=""
    16164       else
    16165         # If we're using GNU nm, then we don't want the "-C" option.
    16166         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    16167         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
    16168           export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    16169         else
    16170           export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
    16171         fi
    16172         aix_use_runtimelinking=no
    16173 
    16174         # Test if we are trying to use run time linking or normal
    16175         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    16176         # need to do runtime linking.
    16177         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
    16178           for ld_flag in $LDFLAGS; do
    16179           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
    16180             aix_use_runtimelinking=yes
    16181             break
    16182           fi
    16183           done
    16184         esac
    16185 
    16186         exp_sym_flag='-bexport'
    16187         no_entry_flag='-bnoentry'
    16188       fi
    16189 
    16190       # When large executables or shared objects are built, AIX ld can
    16191       # have problems creating the table of contents.  If linking a library
    16192       # or program results in "error TOC overflow" add -mminimal-toc to
    16193       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    16194       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    16195 
    16196       archive_cmds_GCJ=''
    16197       hardcode_direct_GCJ=yes
    16198       hardcode_libdir_separator_GCJ=':'
    16199       link_all_deplibs_GCJ=yes
    16200 
    16201       if test "$GCC" = yes; then
    16202         case $host_os in aix4.012|aix4.012.*)
    16203         # We only want to do this on AIX 4.2 and lower, the check
    16204         # below for broken collect2 doesn't work under 4.3+
    16205           collect2name=`${CC} -print-prog-name=collect2`
    16206           if test -f "$collect2name" && \
    16207            strings "$collect2name" | grep resolve_lib_name >/dev/null
    16208           then
    16209           # We have reworked collect2
    16210           hardcode_direct_GCJ=yes
    16211           else
    16212           # We have old collect2
    16213           hardcode_direct_GCJ=unsupported
    16214           # It fails to find uninstalled libraries when the uninstalled
    16215           # path is not listed in the libpath.  Setting hardcode_minus_L
    16216           # to unsupported forces relinking
    16217           hardcode_minus_L_GCJ=yes
    16218           hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16219           hardcode_libdir_separator_GCJ=
    16220           fi
    16221         esac
    16222         shared_flag='-shared'
    16223       else
    16224         # not using gcc
    16225         if test "$host_cpu" = ia64; then
    16226         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    16227         # chokes on -Wl,-G. The following line is correct:
    16228           shared_flag='-G'
    16229         else
    16230         if test "$aix_use_runtimelinking" = yes; then
    16231             shared_flag='${wl}-G'
    16232           else
    16233             shared_flag='${wl}-bM:SRE'
    16234         fi
    16235         fi
    16236       fi
    16237 
    16238       # It seems that -bexpall does not export symbols beginning with
    16239       # underscore (_), so it is better to generate a list of symbols to export.
    16240       always_export_symbols_GCJ=yes
    16241       if test "$aix_use_runtimelinking" = yes; then
    16242         # Warning - without using the other runtime loading flags (-brtl),
    16243         # -berok will link without error, but may produce a broken library.
    16244         allow_undefined_flag_GCJ='-berok'
    16245        # Determine the default libpath from the value encoded in an empty executable.
    16246        cat >conftest.$ac_ext <<_ACEOF
    16247 /* confdefs.h.  */
    16248 _ACEOF
    16249 cat confdefs.h >>conftest.$ac_ext
    16250 cat >>conftest.$ac_ext <<_ACEOF
    16251 /* end confdefs.h.  */
    16252 
    16253 int
    16254 main ()
    16255 {
    16256 
    16257   ;
    16258   return 0;
    16259 }
    16260 _ACEOF
    16261 rm -f conftest.$ac_objext conftest$ac_exeext
    16262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    16263   (eval $ac_link) 2>conftest.er1
    16264   ac_status=$?
    16265   grep -v '^ *+' conftest.er1 >conftest.err
    16266   rm -f conftest.er1
    16267   cat conftest.err >&5
    16268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16269   (exit $ac_status); } &&
    16270          { ac_try='test -z "$ac_c_werror_flag"
    16271                          || test ! -s conftest.err'
    16272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    16273   (eval $ac_try) 2>&5
    16274   ac_status=$?
    16275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16276   (exit $ac_status); }; } &&
    16277          { ac_try='test -s conftest$ac_exeext'
    16278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    16279   (eval $ac_try) 2>&5
    16280   ac_status=$?
    16281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16282   (exit $ac_status); }; }; then
    16283 
    16284 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    16285 }'`
    16286 # Check for a 64-bit object if we didn't find anything.
    16287 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; }
    16288 }'`; fi
    16289 else
    16290   echo "$as_me: failed program was:" >&5
    16291 sed 's/^/| /' conftest.$ac_ext >&5
    16292 
    16293 fi
    16294 rm -f conftest.err conftest.$ac_objext \
    16295       conftest$ac_exeext conftest.$ac_ext
    16296 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    16297 
    16298        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
    16299         archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
    16300        else
    16301         if test "$host_cpu" = ia64; then
    16302           hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
    16303           allow_undefined_flag_GCJ="-z nodefs"
    16304           archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
    16305         else
    16306          # Determine the default libpath from the value encoded in an empty executable.
    16307          cat >conftest.$ac_ext <<_ACEOF
    16308 /* confdefs.h.  */
    16309 _ACEOF
    16310 cat confdefs.h >>conftest.$ac_ext
    16311 cat >>conftest.$ac_ext <<_ACEOF
    16312 /* end confdefs.h.  */
    16313 
    16314 int
    16315 main ()
    16316 {
    16317 
    16318   ;
    16319   return 0;
    16320 }
    16321 _ACEOF
    16322 rm -f conftest.$ac_objext conftest$ac_exeext
    16323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    16324   (eval $ac_link) 2>conftest.er1
    16325   ac_status=$?
    16326   grep -v '^ *+' conftest.er1 >conftest.err
    16327   rm -f conftest.er1
    16328   cat conftest.err >&5
    16329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16330   (exit $ac_status); } &&
    16331          { ac_try='test -z "$ac_c_werror_flag"
    16332                          || test ! -s conftest.err'
    16333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    16334   (eval $ac_try) 2>&5
    16335   ac_status=$?
    16336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16337   (exit $ac_status); }; } &&
    16338          { ac_try='test -s conftest$ac_exeext'
    16339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    16340   (eval $ac_try) 2>&5
    16341   ac_status=$?
    16342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16343   (exit $ac_status); }; }; then
    16344 
    16345 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
    16346 }'`
    16347 # Check for a 64-bit object if we didn't find anything.
    16348 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; }
    16349 }'`; fi
    16350 else
    16351   echo "$as_me: failed program was:" >&5
    16352 sed 's/^/| /' conftest.$ac_ext >&5
    16353 
    16354 fi
    16355 rm -f conftest.err conftest.$ac_objext \
    16356       conftest$ac_exeext conftest.$ac_ext
    16357 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    16358 
    16359          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
    16360           # Warning - without using the other run time loading flags,
    16361           # -berok will link without error, but may produce a broken library.
    16362           no_undefined_flag_GCJ=' ${wl}-bernotok'
    16363           allow_undefined_flag_GCJ=' ${wl}-berok'
    16364           # -bexpall does not export symbols beginning with underscore (_)
    16365           always_export_symbols_GCJ=yes
    16366           # Exported symbols can be pulled into shared objects from archives
    16367           whole_archive_flag_spec_GCJ=' '
    16368           archive_cmds_need_lc_GCJ=yes
    16369           # This is similar to how AIX traditionally builds it's shared libraries.
    16370           archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
    16371         fi
    16372       fi
    16373       ;;
    16374 
    16375     amigaos*)
    16376       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
    16377       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16378       hardcode_minus_L_GCJ=yes
    16379       # see comment about different semantics on the GNU ld section
    16380       ld_shlibs_GCJ=no
    16381       ;;
    16382 
    16383     bsdi4*)
    16384       export_dynamic_flag_spec_GCJ=-rdynamic
    16385       ;;
    16386 
    16387     cygwin* | mingw* | pw32*)
    16388       # When not using gcc, we currently assume that we are using
    16389       # Microsoft Visual C++.
    16390       # hardcode_libdir_flag_spec is actually meaningless, as there is
    16391       # no search path for DLLs.
    16392       hardcode_libdir_flag_spec_GCJ=' '
    16393       allow_undefined_flag_GCJ=unsupported
    16394       # Tell ltmain to make .lib files, not .a files.
    16395       libext=lib
    16396       # Tell ltmain to make .dll files, not .so files.
    16397       shrext_cmds=".dll"
    16398       # FIXME: Setting linknames here is a bad hack.
    16399       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
    16400       # The linker will automatically build a .lib file if we build a DLL.
    16401       old_archive_From_new_cmds_GCJ='true'
    16402       # FIXME: Should let the user specify the lib program.
    16403       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
    16404       fix_srcfile_path='`cygpath -w "$srcfile"`'
    16405       enable_shared_with_static_runtimes_GCJ=yes
    16406       ;;
    16407 
    16408     darwin* | rhapsody*)
    16409     if test "$GXX" = yes ; then
    16410       archive_cmds_need_lc_GCJ=no
    16411       case "$host_os" in
    16412       rhapsody* | darwin1.[012])
    16413         allow_undefined_flag_GCJ='-undefined suppress'
    16414         ;;
    16415       *) # Darwin 1.3 on
    16416       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
    16417         allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
    16418       else
    16419         case ${MACOSX_DEPLOYMENT_TARGET} in
    16420           10.[012])
    16421             allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
    16422             ;;
    16423           10.*)
    16424             allow_undefined_flag_GCJ='-undefined dynamic_lookup'
    16425             ;;
    16426         esac
    16427       fi
    16428         ;;
    16429       esac
    16430         lt_int_apple_cc_single_mod=no
    16431         output_verbose_link_cmd='echo'
    16432         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
    16433           lt_int_apple_cc_single_mod=yes
    16434         fi
    16435         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    16436           archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    16437         else
    16438         archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
    16439       fi
    16440       module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
    16441       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
    16442         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
    16443           archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    16444         else
    16445           archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    16446         fi
    16447           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
    16448       hardcode_direct_GCJ=no
    16449       hardcode_automatic_GCJ=yes
    16450       hardcode_shlibpath_var_GCJ=unsupported
    16451       whole_archive_flag_spec_GCJ='-all_load $convenience'
    16452       link_all_deplibs_GCJ=yes
    16453     else
    16454       ld_shlibs_GCJ=no
    16455     fi
    16456       ;;
    16457 
    16458     dgux*)
    16459       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16460       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16461       hardcode_shlibpath_var_GCJ=no
    16462       ;;
    16463 
    16464     freebsd1*)
    16465       ld_shlibs_GCJ=no
    16466       ;;
    16467 
    16468     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    16469     # support.  Future versions do this automatically, but an explicit c++rt0.o
    16470     # does not break anything, and helps significantly (at the cost of a little
    16471     # extra space).
    16472     freebsd2.2*)
    16473       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    16474       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    16475       hardcode_direct_GCJ=yes
    16476       hardcode_shlibpath_var_GCJ=no
    16477       ;;
    16478 
    16479     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    16480     freebsd2*)
    16481       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    16482       hardcode_direct_GCJ=yes
    16483       hardcode_minus_L_GCJ=yes
    16484       hardcode_shlibpath_var_GCJ=no
    16485       ;;
    16486 
    16487     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    16488     freebsd* | kfreebsd*-gnu)
    16489       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
    16490       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    16491       hardcode_direct_GCJ=yes
    16492       hardcode_shlibpath_var_GCJ=no
    16493       ;;
    16494 
    16495     hpux9*)
    16496       if test "$GCC" = yes; then
    16497         archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    16498       else
    16499         archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
    16500       fi
    16501       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    16502       hardcode_libdir_separator_GCJ=:
    16503       hardcode_direct_GCJ=yes
    16504 
    16505       # hardcode_minus_L: Not really in the search PATH,
    16506       # but as the default location of the library.
    16507       hardcode_minus_L_GCJ=yes
    16508       export_dynamic_flag_spec_GCJ='${wl}-E'
    16509       ;;
    16510 
    16511     hpux10* | hpux11*)
    16512       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    16513         case "$host_cpu" in
    16514         hppa*64*|ia64*)
    16515           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    16516           ;;
    16517         *)
    16518           archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    16519           ;;
    16520         esac
    16521       else
    16522         case "$host_cpu" in
    16523         hppa*64*|ia64*)
    16524           archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
    16525           ;;
    16526         *)
    16527           archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    16528           ;;
    16529         esac
    16530       fi
    16531       if test "$with_gnu_ld" = no; then
    16532         case "$host_cpu" in
    16533         hppa*64*)
    16534           hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    16535           hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
    16536           hardcode_libdir_separator_GCJ=:
    16537           hardcode_direct_GCJ=no
    16538           hardcode_shlibpath_var_GCJ=no
    16539           ;;
    16540         ia64*)
    16541           hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16542           hardcode_direct_GCJ=no
    16543           hardcode_shlibpath_var_GCJ=no
    16544 
    16545           # hardcode_minus_L: Not really in the search PATH,
    16546           # but as the default location of the library.
    16547           hardcode_minus_L_GCJ=yes
    16548           ;;
    16549         *)
    16550           hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    16551           hardcode_libdir_separator_GCJ=:
    16552           hardcode_direct_GCJ=yes
    16553           export_dynamic_flag_spec_GCJ='${wl}-E'
    16554 
    16555           # hardcode_minus_L: Not really in the search PATH,
    16556           # but as the default location of the library.
    16557           hardcode_minus_L_GCJ=yes
    16558           ;;
    16559         esac
    16560       fi
    16561       ;;
    16562 
    16563     irix5* | irix6* | nonstopux*)
    16564       if test "$GCC" = yes; then
    16565         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    16566       else
    16567         archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    16568         hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
    16569       fi
    16570       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    16571       hardcode_libdir_separator_GCJ=:
    16572       link_all_deplibs_GCJ=yes
    16573       ;;
    16574 
    16575     netbsd*)
    16576       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    16577         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    16578       else
    16579         archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    16580       fi
    16581       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    16582       hardcode_direct_GCJ=yes
    16583       hardcode_shlibpath_var_GCJ=no
    16584       ;;
    16585 
    16586     newsos6)
    16587       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16588       hardcode_direct_GCJ=yes
    16589       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    16590       hardcode_libdir_separator_GCJ=:
    16591       hardcode_shlibpath_var_GCJ=no
    16592       ;;
    16593 
    16594     openbsd*)
    16595       hardcode_direct_GCJ=yes
    16596       hardcode_shlibpath_var_GCJ=no
    16597       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    16598         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    16599         hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
    16600         export_dynamic_flag_spec_GCJ='${wl}-E'
    16601       else
    16602        case $host_os in
    16603          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    16604            archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    16605            hardcode_libdir_flag_spec_GCJ='-R$libdir'
    16606            ;;
    16607          *)
    16608            archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    16609            hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
    16610            ;;
    16611        esac
    16612       fi
    16613       ;;
    16614 
    16615     os2*)
    16616       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16617       hardcode_minus_L_GCJ=yes
    16618       allow_undefined_flag_GCJ=unsupported
    16619       archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
    16620       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    16621       ;;
    16622 
    16623     osf3*)
    16624       if test "$GCC" = yes; then
    16625         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
    16626         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    16627       else
    16628         allow_undefined_flag_GCJ=' -expect_unresolved \*'
    16629         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    16630       fi
    16631       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    16632       hardcode_libdir_separator_GCJ=:
    16633       ;;
    16634 
    16635     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    16636       if test "$GCC" = yes; then
    16637         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
    16638         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    16639         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
    16640       else
    16641         allow_undefined_flag_GCJ=' -expect_unresolved \*'
    16642         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
    16643         archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
    16644         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
    16645 
    16646         # Both c and cxx compiler support -rpath directly
    16647         hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
    16648       fi
    16649       hardcode_libdir_separator_GCJ=:
    16650       ;;
    16651 
    16652     sco3.2v5*)
    16653       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16654       hardcode_shlibpath_var_GCJ=no
    16655       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
    16656       runpath_var=LD_RUN_PATH
    16657       hardcode_runpath_var=yes
    16658       ;;
    16659 
    16660     solaris*)
    16661       no_undefined_flag_GCJ=' -z text'
    16662       if test "$GCC" = yes; then
    16663         archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    16664         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    16665           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
    16666       else
    16667         archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16668         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    16669         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    16670       fi
    16671       hardcode_libdir_flag_spec_GCJ='-R$libdir'
    16672       hardcode_shlibpath_var_GCJ=no
    16673       case $host_os in
    16674       solaris2.[0-5] | solaris2.[0-5].*) ;;
    16675       *) # Supported since Solaris 2.6 (maybe 2.5.1?)
    16676         whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
    16677       esac
    16678       link_all_deplibs_GCJ=yes
    16679       ;;
    16680 
    16681     sunos4*)
    16682       if test "x$host_vendor" = xsequent; then
    16683         # Use $CC to link under sequent, because it throws in some extra .o
    16684         # files that make .init and .fini sections work.
    16685         archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    16686       else
    16687         archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    16688       fi
    16689       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16690       hardcode_direct_GCJ=yes
    16691       hardcode_minus_L_GCJ=yes
    16692       hardcode_shlibpath_var_GCJ=no
    16693       ;;
    16694 
    16695     sysv4)
    16696       case $host_vendor in
    16697         sni)
    16698           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16699           hardcode_direct_GCJ=yes # is this really true???
    16700         ;;
    16701         siemens)
    16702           ## LD is ld it makes a PLAMLIB
    16703           ## CC just makes a GrossModule.
    16704           archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    16705           reload_cmds_GCJ='$CC -r -o $output$reload_objs'
    16706           hardcode_direct_GCJ=no
    16707         ;;
    16708         motorola)
    16709           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16710           hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
    16711         ;;
    16712       esac
    16713       runpath_var='LD_RUN_PATH'
    16714       hardcode_shlibpath_var_GCJ=no
    16715       ;;
    16716 
    16717     sysv4.3*)
    16718       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16719       hardcode_shlibpath_var_GCJ=no
    16720       export_dynamic_flag_spec_GCJ='-Bexport'
    16721       ;;
    16722 
    16723     sysv4*MP*)
    16724       if test -d /usr/nec; then
    16725         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16726         hardcode_shlibpath_var_GCJ=no
    16727         runpath_var=LD_RUN_PATH
    16728         hardcode_runpath_var=yes
    16729         ld_shlibs_GCJ=yes
    16730       fi
    16731       ;;
    16732 
    16733     sysv4.2uw2*)
    16734       archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    16735       hardcode_direct_GCJ=yes
    16736       hardcode_minus_L_GCJ=no
    16737       hardcode_shlibpath_var_GCJ=no
    16738       hardcode_runpath_var=yes
    16739       runpath_var=LD_RUN_PATH
    16740       ;;
    16741 
    16742    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
    16743       no_undefined_flag_GCJ='${wl}-z ${wl}text'
    16744       if test "$GCC" = yes; then
    16745         archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    16746       else
    16747         archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
    16748       fi
    16749       runpath_var='LD_RUN_PATH'
    16750       hardcode_shlibpath_var_GCJ=no
    16751       ;;
    16752 
    16753     sysv5*)
    16754       no_undefined_flag_GCJ=' -z text'
    16755       # $CC -shared without GNU ld will not create a library from C++
    16756       # object files and a static libstdc++, better avoid it by now
    16757       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16758       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
    16759                 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
    16760       hardcode_libdir_flag_spec_GCJ=
    16761       hardcode_shlibpath_var_GCJ=no
    16762       runpath_var='LD_RUN_PATH'
    16763       ;;
    16764 
    16765     uts4*)
    16766       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    16767       hardcode_libdir_flag_spec_GCJ='-L$libdir'
    16768       hardcode_shlibpath_var_GCJ=no
    16769       ;;
    16770 
    16771     *)
    16772       ld_shlibs_GCJ=no
    16773       ;;
    16774     esac
    16775   fi
    16776 
    16777 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
    16778 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
    16779 test "$ld_shlibs_GCJ" = no && can_build_shared=no
    16780 
    16781 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    16782 if test "$GCC" = yes; then
    16783   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    16784 fi
    16785 
    16786 #
    16787 # Do we need to explicitly link libc?
    16788 #
    16789 case "x$archive_cmds_need_lc_GCJ" in
    16790 x|xyes)
    16791   # Assume -lc should be added
    16792   archive_cmds_need_lc_GCJ=yes
    16793 
    16794   if test "$enable_shared" = yes && test "$GCC" = yes; then
    16795     case $archive_cmds_GCJ in
    16796     *'~'*)
    16797       # FIXME: we may have to deal with multi-command sequences.
    16798       ;;
    16799     '$CC '*)
    16800       # Test whether the compiler implicitly links with -lc since on some
    16801       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    16802       # to ld, don't add -lc before -lgcc.
    16803       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
    16804 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
    16805       $rm conftest*
    16806       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
    16807 
    16808       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    16809   (eval $ac_compile) 2>&5
    16810   ac_status=$?
    16811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16812   (exit $ac_status); } 2>conftest.err; then
    16813         soname=conftest
    16814         lib=conftest
    16815         libobjs=conftest.$ac_objext
    16816         deplibs=
    16817         wl=$lt_prog_compiler_wl_GCJ
    16818         compiler_flags=-v
    16819         linker_flags=-v
    16820         verstring=
    16821         output_objdir=.
    16822         libname=conftest
    16823         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
    16824         allow_undefined_flag_GCJ=
    16825         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
    16826   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
    16827   ac_status=$?
    16828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16829   (exit $ac_status); }
    16830         then
    16831           archive_cmds_need_lc_GCJ=no
    16832         else
    16833           archive_cmds_need_lc_GCJ=yes
    16834         fi
    16835         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
    16836       else
    16837         cat conftest.err 1>&5
    16838       fi
    16839       $rm conftest*
    16840       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
    16841 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
    16842       ;;
    16843     esac
    16844   fi
    16845   ;;
    16846 esac
    16847 
    16848 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    16849 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
    16850 library_names_spec=
    16851 libname_spec='lib$name'
    16852 soname_spec=
    16853 shrext_cmds=".so"
    16854 postinstall_cmds=
    16855 postuninstall_cmds=
    16856 finish_cmds=
    16857 finish_eval=
    16858 shlibpath_var=
    16859 shlibpath_overrides_runpath=unknown
    16860 version_type=none
    16861 dynamic_linker="$host_os ld.so"
    16862 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    16863 if test "$GCC" = yes; then
    16864   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    16865   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
    16866     # if the path contains ";" then we assume it to be the separator
    16867     # otherwise default to the standard path separator (i.e. ":") - it is
    16868     # assumed that no part of a normal pathname contains ";" but that should
    16869     # okay in the real world where ";" in dirpaths is itself problematic.
    16870     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    16871   else
    16872     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    16873   fi
    16874 else
    16875   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    16876 fi
    16877 need_lib_prefix=unknown
    16878 hardcode_into_libs=no
    16879 
    16880 # when you set need_version to no, make sure it does not cause -set_version
    16881 # flags to be left without arguments
    16882 need_version=unknown
    16883 
    16884 case $host_os in
    16885 aix3*)
    16886   version_type=linux
    16887   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
    16888   shlibpath_var=LIBPATH
    16889 
    16890   # AIX 3 has no versioning support, so we append a major version to the name.
    16891   soname_spec='${libname}${release}${shared_ext}$major'
    16892   ;;
    16893 
    16894 aix4* | aix5*)
    16895   version_type=linux
    16896   need_lib_prefix=no
    16897   need_version=no
    16898   hardcode_into_libs=yes
    16899   if test "$host_cpu" = ia64; then
    16900     # AIX 5 supports IA64
    16901     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
    16902     shlibpath_var=LD_LIBRARY_PATH
    16903   else
    16904     # With GCC up to 2.95.x, collect2 would create an import file
    16905     # for dependence libraries.  The import file would start with
    16906     # the line `#! .'.  This would cause the generated library to
    16907     # depend on `.', always an invalid library.  This was fixed in
    16908     # development snapshots of GCC prior to 3.0.
    16909     case $host_os in
    16910       aix4 | aix4.[01] | aix4.[01].*)
    16911       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    16912            echo ' yes '
    16913            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
    16914         :
    16915       else
    16916         can_build_shared=no
    16917       fi
    16918       ;;
    16919     esac
    16920     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
    16921     # soname into executable. Probably we can add versioning support to
    16922     # collect2, so additional links can be useful in future.
    16923     if test "$aix_use_runtimelinking" = yes; then
    16924       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    16925       # instead of lib<name>.a to let people know that these are not
    16926       # typical AIX shared libraries.
    16927       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    16928     else
    16929       # We preserve .a as extension for shared libraries through AIX4.2
    16930       # and later when we are not doing run time linking.
    16931       library_names_spec='${libname}${release}.a $libname.a'
    16932       soname_spec='${libname}${release}${shared_ext}$major'
    16933     fi
    16934     shlibpath_var=LIBPATH
    16935   fi
    16936   ;;
    16937 
    16938 amigaos*)
    16939   library_names_spec='$libname.ixlibrary $libname.a'
    16940   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    16941   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'
    16942   ;;
    16943 
    16944 beos*)
    16945   library_names_spec='${libname}${shared_ext}'
    16946   dynamic_linker="$host_os ld.so"
    16947   shlibpath_var=LIBRARY_PATH
    16948   ;;
    16949 
    16950 bsdi4*)
    16951   version_type=linux
    16952   need_version=no
    16953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    16954   soname_spec='${libname}${release}${shared_ext}$major'
    16955   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    16956   shlibpath_var=LD_LIBRARY_PATH
    16957   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    16958   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    16959   # the default ld.so.conf also contains /usr/contrib/lib and
    16960   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    16961   # libtool to hard-code these into programs
    16962   ;;
    16963 
    16964 cygwin* | mingw* | pw32*)
    16965   version_type=windows
    16966   shrext_cmds=".dll"
    16967   need_version=no
    16968   need_lib_prefix=no
    16969 
    16970   case $GCC,$host_os in
    16971   yes,cygwin* | yes,mingw* | yes,pw32*)
    16972     library_names_spec='$libname.dll.a'
    16973     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    16974     postinstall_cmds='base_file=`basename \${file}`~
    16975       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
    16976       dldir=$destdir/`dirname \$dlpath`~
    16977       test -d \$dldir || mkdir -p \$dldir~
    16978       $install_prog $dir/$dlname \$dldir/$dlname'
    16979     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    16980       dlpath=$dir/\$dldll~
    16981        $rm \$dlpath'
    16982     shlibpath_overrides_runpath=yes
    16983 
    16984     case $host_os in
    16985     cygwin*)
    16986       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    16987       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    16988       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
    16989       ;;
    16990     mingw*)
    16991       # MinGW DLLs use traditional 'lib' prefix
    16992       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    16993       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
    16994       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
    16995         # It is most probably a Windows format PATH printed by
    16996         # mingw gcc, but we are running on Cygwin. Gcc prints its search
    16997         # path with ; separators, and with drive letters. We can handle the
    16998         # drive letters (cygwin fileutils understands them), so leave them,
    16999         # especially as we might pass files found there to a mingw objdump,
    17000         # which wouldn't understand a cygwinified path. Ahh.
    17001         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    17002       else
    17003         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
    17004       fi
    17005       ;;
    17006     pw32*)
    17007       # pw32 DLLs use 'pw' prefix rather than 'lib'
    17008       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
    17009       ;;
    17010     esac
    17011     ;;
    17012 
    17013   *)
    17014     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
    17015     ;;
    17016   esac
    17017   dynamic_linker='Win32 ld.exe'
    17018   # FIXME: first we should search . and the directory the executable is in
    17019   shlibpath_var=PATH
    17020   ;;
    17021 
    17022 darwin* | rhapsody*)
    17023   dynamic_linker="$host_os dyld"
    17024   version_type=darwin
    17025   need_lib_prefix=no
    17026   need_version=no
    17027   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    17028   soname_spec='${libname}${release}${major}$shared_ext'
    17029   shlibpath_overrides_runpath=yes
    17030   shlibpath_var=DYLD_LIBRARY_PATH
    17031   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
    17032   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
    17033   if test "$GCC" = yes; then
    17034     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
    17035   else
    17036     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
    17037   fi
    17038   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    17039   ;;
    17040 
    17041 dgux*)
    17042   version_type=linux
    17043   need_lib_prefix=no
    17044   need_version=no
    17045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    17046   soname_spec='${libname}${release}${shared_ext}$major'
    17047   shlibpath_var=LD_LIBRARY_PATH
    17048   ;;
    17049 
    17050 freebsd1*)
    17051   dynamic_linker=no
    17052   ;;
    17053 
    17054 kfreebsd*-gnu)
    17055   version_type=linux
    17056   need_lib_prefix=no
    17057   need_version=no
    17058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    17059   soname_spec='${libname}${release}${shared_ext}$major'
    17060   shlibpath_var=LD_LIBRARY_PATH
    17061   shlibpath_overrides_runpath=no
    17062   hardcode_into_libs=yes
    17063   dynamic_linker='GNU ld.so'
    17064   ;;
    17065 
    17066 freebsd*)
    17067   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
    17068   version_type=freebsd-$objformat
    17069   case $version_type in
    17070     freebsd-elf*)
    17071       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    17072       need_version=no
    17073       need_lib_prefix=no
    17074       ;;
    17075     freebsd-*)
    17076       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
    17077       need_version=yes
    17078       ;;
    17079   esac
    17080   shlibpath_var=LD_LIBRARY_PATH
    17081   case $host_os in
    17082   freebsd2*)
    17083     shlibpath_overrides_runpath=yes
    17084     ;;
    17085   freebsd3.01* | freebsdelf3.01*)
    17086     shlibpath_overrides_runpath=yes
    17087     hardcode_into_libs=yes
    17088     ;;
    17089   *) # from 3.2 on
    17090     shlibpath_overrides_runpath=no
    17091     hardcode_into_libs=yes
    17092     ;;
    17093   esac
    17094   ;;
    17095 
    17096 gnu*)
    17097   version_type=linux
    17098   need_lib_prefix=no
    17099   need_version=no
    17100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    17101   soname_spec='${libname}${release}${shared_ext}$major'
    17102   shlibpath_var=LD_LIBRARY_PATH
    17103   hardcode_into_libs=yes
    17104   ;;
    17105 
    17106 hpux9* | hpux10* | hpux11*)
    17107   # Give a soname corresponding to the major version so that dld.sl refuses to
    17108   # link against other versions.
    17109   version_type=sunos
    17110   need_lib_prefix=no
    17111   need_version=no
    17112   case "$host_cpu" in
    17113   ia64*)
    17114     shrext_cmds='.so'
    17115     hardcode_into_libs=yes
    17116     dynamic_linker="$host_os dld.so"
    17117     shlibpath_var=LD_LIBRARY_PATH
    17118     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    17119     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17120     soname_spec='${libname}${release}${shared_ext}$major'
    17121     if test "X$HPUX_IA64_MODE" = X32; then
    17122       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    17123     else
    17124       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    17125     fi
    17126     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    17127     ;;
    17128    hppa*64*)
    17129      shrext_cmds='.sl'
    17130      hardcode_into_libs=yes
    17131      dynamic_linker="$host_os dld.sl"
    17132      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    17133      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    17134      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17135      soname_spec='${libname}${release}${shared_ext}$major'
    17136      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    17137      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    17138      ;;
    17139    *)
    17140     shrext_cmds='.sl'
    17141     dynamic_linker="$host_os dld.sl"
    17142     shlibpath_var=SHLIB_PATH
    17143     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    17144     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17145     soname_spec='${libname}${release}${shared_ext}$major'
    17146     ;;
    17147   esac
    17148   # HP-UX runs *really* slowly unless shared libraries are mode 555.
    17149   postinstall_cmds='chmod 555 $lib'
    17150   ;;
    17151 
    17152 irix5* | irix6* | nonstopux*)
    17153   case $host_os in
    17154     nonstopux*) version_type=nonstopux ;;
    17155     *)
    17156         if test "$lt_cv_prog_gnu_ld" = yes; then
    17157                 version_type=linux
    17158         else
    17159                 version_type=irix
    17160         fi ;;
    17161   esac
    17162   need_lib_prefix=no
    17163   need_version=no
    17164   soname_spec='${libname}${release}${shared_ext}$major'
    17165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
    17166   case $host_os in
    17167   irix5* | nonstopux*)
    17168     libsuff= shlibsuff=
    17169     ;;
    17170   *)
    17171     case $LD in # libtool.m4 will add one of these switches to LD
    17172     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    17173       libsuff= shlibsuff= libmagic=32-bit;;
    17174     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    17175       libsuff=32 shlibsuff=N32 libmagic=N32;;
    17176     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    17177       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    17178     *) libsuff= shlibsuff= libmagic=never-match;;
    17179     esac
    17180     ;;
    17181   esac
    17182   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    17183   shlibpath_overrides_runpath=no
    17184   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    17185   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    17186   hardcode_into_libs=yes
    17187   ;;
    17188 
    17189 # No shared lib support for Linux oldld, aout, or coff.
    17190 linux*oldld* | linux*aout* | linux*coff*)
    17191   dynamic_linker=no
    17192   ;;
    17193 
    17194 # This must be Linux ELF.
    17195 linux*)
    17196   version_type=linux
    17197   need_lib_prefix=no
    17198   need_version=no
    17199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17200   soname_spec='${libname}${release}${shared_ext}$major'
    17201   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    17202   shlibpath_var=LD_LIBRARY_PATH
    17203   shlibpath_overrides_runpath=no
    17204   # This implies no fast_install, which is unacceptable.
    17205   # Some rework will be needed to allow for fast_install
    17206   # before this can be enabled.
    17207   hardcode_into_libs=yes
    17208 
    17209   # find out which ABI we are using
    17210   libsuff=
    17211   case "$host_cpu" in
    17212   x86_64*|s390x*|powerpc64*)
    17213     echo '#line 17213 "configure"' > conftest.$ac_ext
    17214     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    17215   (eval $ac_compile) 2>&5
    17216   ac_status=$?
    17217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17218   (exit $ac_status); }; then
    17219       case `/usr/bin/file conftest.$ac_objext` in
    17220       *64-bit*)
    17221         libsuff=64
    17222         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    17223         ;;
    17224       esac
    17225     fi
    17226     rm -rf conftest*
    17227     ;;
    17228   esac
    17229 
    17230   # Append ld.so.conf contents to the search path
    17231   if test -f /etc/ld.so.conf; then
    17232     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
    17233     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
    17234   fi
    17235 
    17236   # We used to test for /lib/ld.so.1 and disable shared libraries on
    17237   # powerpc, because MkLinux only supported shared libraries with the
    17238   # GNU dynamic linker.  Since this was broken with cross compilers,
    17239   # most powerpc-linux boxes support dynamic linking these days and
    17240   # people can always --disable-shared, the test was removed, and we
    17241   # assume the GNU/Linux dynamic linker is in use.
    17242   dynamic_linker='GNU/Linux ld.so'
    17243   ;;
    17244 
    17245 knetbsd*-gnu)
    17246   version_type=linux
    17247   need_lib_prefix=no
    17248   need_version=no
    17249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    17250   soname_spec='${libname}${release}${shared_ext}$major'
    17251   shlibpath_var=LD_LIBRARY_PATH
    17252   shlibpath_overrides_runpath=no
    17253   hardcode_into_libs=yes
    17254   dynamic_linker='GNU ld.so'
    17255   ;;
    17256 
    17257 netbsd*)
    17258   version_type=sunos
    17259   need_lib_prefix=no
    17260   need_version=no
    17261   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    17262     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    17263     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    17264     dynamic_linker='NetBSD (a.out) ld.so'
    17265   else
    17266     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    17267     soname_spec='${libname}${release}${shared_ext}$major'
    17268     dynamic_linker='NetBSD ld.elf_so'
    17269   fi
    17270   shlibpath_var=LD_LIBRARY_PATH
    17271   shlibpath_overrides_runpath=yes
    17272   hardcode_into_libs=yes
    17273   ;;
    17274 
    17275 newsos6)
    17276   version_type=linux
    17277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17278   shlibpath_var=LD_LIBRARY_PATH
    17279   shlibpath_overrides_runpath=yes
    17280   ;;
    17281 
    17282 nto-qnx*)
    17283   version_type=linux
    17284   need_lib_prefix=no
    17285   need_version=no
    17286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17287   soname_spec='${libname}${release}${shared_ext}$major'
    17288   shlibpath_var=LD_LIBRARY_PATH
    17289   shlibpath_overrides_runpath=yes
    17290   ;;
    17291 
    17292 openbsd*)
    17293   version_type=sunos
    17294   need_lib_prefix=no
    17295   need_version=yes
    17296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    17297   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    17298   shlibpath_var=LD_LIBRARY_PATH
    17299   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    17300     case $host_os in
    17301       openbsd2.[89] | openbsd2.[89].*)
    17302         shlibpath_overrides_runpath=no
    17303         ;;
    17304       *)
    17305         shlibpath_overrides_runpath=yes
    17306         ;;
    17307       esac
    17308   else
    17309     shlibpath_overrides_runpath=yes
    17310   fi
    17311   ;;
    17312 
    17313 os2*)
    17314   libname_spec='$name'
    17315   shrext_cmds=".dll"
    17316   need_lib_prefix=no
    17317   library_names_spec='$libname${shared_ext} $libname.a'
    17318   dynamic_linker='OS/2 ld.exe'
    17319   shlibpath_var=LIBPATH
    17320   ;;
    17321 
    17322 osf3* | osf4* | osf5*)
    17323   version_type=osf
    17324   need_lib_prefix=no
    17325   need_version=no
    17326   soname_spec='${libname}${release}${shared_ext}$major'
    17327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17328   shlibpath_var=LD_LIBRARY_PATH
    17329   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    17330   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    17331   ;;
    17332 
    17333 sco3.2v5*)
    17334   version_type=osf
    17335   soname_spec='${libname}${release}${shared_ext}$major'
    17336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17337   shlibpath_var=LD_LIBRARY_PATH
    17338   ;;
    17339 
    17340 solaris*)
    17341   version_type=linux
    17342   need_lib_prefix=no
    17343   need_version=no
    17344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17345   soname_spec='${libname}${release}${shared_ext}$major'
    17346   shlibpath_var=LD_LIBRARY_PATH
    17347   shlibpath_overrides_runpath=yes
    17348   hardcode_into_libs=yes
    17349   # ldd complains unless libraries are executable
    17350   postinstall_cmds='chmod +x $lib'
    17351   ;;
    17352 
    17353 sunos4*)
    17354   version_type=sunos
    17355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
    17356   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    17357   shlibpath_var=LD_LIBRARY_PATH
    17358   shlibpath_overrides_runpath=yes
    17359   if test "$with_gnu_ld" = yes; then
    17360     need_lib_prefix=no
    17361   fi
    17362   need_version=yes
    17363   ;;
    17364 
    17365 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    17366   version_type=linux
    17367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17368   soname_spec='${libname}${release}${shared_ext}$major'
    17369   shlibpath_var=LD_LIBRARY_PATH
    17370   case $host_vendor in
    17371     sni)
    17372       shlibpath_overrides_runpath=no
    17373       need_lib_prefix=no
    17374       export_dynamic_flag_spec='${wl}-Blargedynsym'
    17375       runpath_var=LD_RUN_PATH
    17376       ;;
    17377     siemens)
    17378       need_lib_prefix=no
    17379       ;;
    17380     motorola)
    17381       need_lib_prefix=no
    17382       need_version=no
    17383       shlibpath_overrides_runpath=no
    17384       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    17385       ;;
    17386   esac
    17387   ;;
    17388 
    17389 sysv4*MP*)
    17390   if test -d /usr/nec ;then
    17391     version_type=linux
    17392     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    17393     soname_spec='$libname${shared_ext}.$major'
    17394     shlibpath_var=LD_LIBRARY_PATH
    17395   fi
    17396   ;;
    17397 
    17398 uts4*)
    17399   version_type=linux
    17400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    17401   soname_spec='${libname}${release}${shared_ext}$major'
    17402   shlibpath_var=LD_LIBRARY_PATH
    17403   ;;
    17404 
    17405 *)
    17406   dynamic_linker=no
    17407   ;;
    17408 esac
    17409 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    17410 echo "${ECHO_T}$dynamic_linker" >&6
    17411 test "$dynamic_linker" = no && can_build_shared=no
    17412 
    17413 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    17414 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
    17415 hardcode_action_GCJ=
    17416 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
    17417    test -n "$runpath_var GCJ" || \
    17418    test "X$hardcode_automatic_GCJ"="Xyes" ; then
    17419 
    17420   # We can hardcode non-existant directories.
    17421   if test "$hardcode_direct_GCJ" != no &&
    17422      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    17423      # have to relink, otherwise we might link with an installed library
    17424      # when we should be linking with a yet-to-be-installed one
    17425      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
    17426      test "$hardcode_minus_L_GCJ" != no; then
    17427     # Linking always hardcodes the temporary library directory.
    17428     hardcode_action_GCJ=relink
    17429   else
    17430     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    17431     hardcode_action_GCJ=immediate
    17432   fi
    17433 else
    17434   # We cannot hardcode anything, or else we can only hardcode existing
    17435   # directories.
    17436   hardcode_action_GCJ=unsupported
    17437 fi
    17438 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
    17439 echo "${ECHO_T}$hardcode_action_GCJ" >&6
    17440 
    17441 if test "$hardcode_action_GCJ" = relink; then
    17442   # Fast installation is not supported
    17443   enable_fast_install=no
    17444 elif test "$shlibpath_overrides_runpath" = yes ||
    17445      test "$enable_shared" = no; then
    17446   # Fast installation is not necessary
    17447   enable_fast_install=needless
    17448 fi
    17449 
    17450 striplib=
    17451 old_striplib=
    17452 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
    17453 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
    17454 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
    17455   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    17456   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    17457   echo "$as_me:$LINENO: result: yes" >&5
    17458 echo "${ECHO_T}yes" >&6
    17459 else
    17460 # FIXME - insert some real tests, host_os isn't really good enough
    17461   case $host_os in
    17462    darwin*)
    17463        if test -n "$STRIP" ; then
    17464          striplib="$STRIP -x"
    17465          echo "$as_me:$LINENO: result: yes" >&5
    17466 echo "${ECHO_T}yes" >&6
    17467        else
    17468   echo "$as_me:$LINENO: result: no" >&5
    17469 echo "${ECHO_T}no" >&6
    17470 fi
    17471        ;;
    17472    *)
    17473   echo "$as_me:$LINENO: result: no" >&5
    17474 echo "${ECHO_T}no" >&6
    17475     ;;
    17476   esac
    17477 fi
    17478 
    17479 if test "x$enable_dlopen" != xyes; then
    17480   enable_dlopen=unknown
    17481   enable_dlopen_self=unknown
    17482   enable_dlopen_self_static=unknown
    17483 else
    17484   lt_cv_dlopen=no
    17485   lt_cv_dlopen_libs=
    17486 
    17487   case $host_os in
    17488   beos*)
    17489     lt_cv_dlopen="load_add_on"
    17490     lt_cv_dlopen_libs=
    17491     lt_cv_dlopen_self=yes
    17492     ;;
    17493 
    17494   mingw* | pw32*)
    17495     lt_cv_dlopen="LoadLibrary"
    17496     lt_cv_dlopen_libs=
    17497    ;;
    17498 
    17499   cygwin*)
    17500     lt_cv_dlopen="dlopen"
    17501     lt_cv_dlopen_libs=
    17502    ;;
    17503 
    17504   darwin*)
    17505   # if libdl is installed we need to link against it
    17506     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    17507 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    17508 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    17509   echo $ECHO_N "(cached) $ECHO_C" >&6
    17510 else
    17511   ac_check_lib_save_LIBS=$LIBS
    17512 LIBS="-ldl  $LIBS"
    17513 cat >conftest.$ac_ext <<_ACEOF
    17514 /* confdefs.h.  */
    17515 _ACEOF
    17516 cat confdefs.h >>conftest.$ac_ext
    17517 cat >>conftest.$ac_ext <<_ACEOF
    17518 /* end confdefs.h.  */
    17519 
    17520 /* Override any gcc2 internal prototype to avoid an error.  */
    17521 #ifdef __cplusplus
    17522 extern "C"
    17523 #endif
    17524 /* We use char because int might match the return type of a gcc2
    17525    builtin and then its argument prototype would still apply.  */
    17526 char dlopen ();
    17527 int
    17528 main ()
    17529 {
    17530 dlopen ();
    17531   ;
    17532   return 0;
    17533 }
    17534 _ACEOF
    17535 rm -f conftest.$ac_objext conftest$ac_exeext
    17536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17537   (eval $ac_link) 2>conftest.er1
    17538   ac_status=$?
    17539   grep -v '^ *+' conftest.er1 >conftest.err
    17540   rm -f conftest.er1
    17541   cat conftest.err >&5
    17542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17543   (exit $ac_status); } &&
    17544          { ac_try='test -z "$ac_c_werror_flag"
    17545                          || test ! -s conftest.err'
    17546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17547   (eval $ac_try) 2>&5
    17548   ac_status=$?
    17549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17550   (exit $ac_status); }; } &&
    17551          { ac_try='test -s conftest$ac_exeext'
    17552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17553   (eval $ac_try) 2>&5
    17554   ac_status=$?
    17555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17556   (exit $ac_status); }; }; then
    17557   ac_cv_lib_dl_dlopen=yes
    17558 else
    17559   echo "$as_me: failed program was:" >&5
    17560 sed 's/^/| /' conftest.$ac_ext >&5
    17561 
    17562 ac_cv_lib_dl_dlopen=no
    17563 fi
    17564 rm -f conftest.err conftest.$ac_objext \
    17565       conftest$ac_exeext conftest.$ac_ext
    17566 LIBS=$ac_check_lib_save_LIBS
    17567 fi
    17568 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    17569 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    17570 if test $ac_cv_lib_dl_dlopen = yes; then
    17571   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    17572 else
    17573 
    17574     lt_cv_dlopen="dyld"
    17575     lt_cv_dlopen_libs=
    17576     lt_cv_dlopen_self=yes
    17577 
    17578 fi
    17579 
    17580    ;;
    17581 
    17582   *)
    17583     echo "$as_me:$LINENO: checking for shl_load" >&5
    17584 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
    17585 if test "${ac_cv_func_shl_load+set}" = set; then
    17586   echo $ECHO_N "(cached) $ECHO_C" >&6
    17587 else
    17588   cat >conftest.$ac_ext <<_ACEOF
    17589 /* confdefs.h.  */
    17590 _ACEOF
    17591 cat confdefs.h >>conftest.$ac_ext
    17592 cat >>conftest.$ac_ext <<_ACEOF
    17593 /* end confdefs.h.  */
    17594 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
    17595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17596 #define shl_load innocuous_shl_load
    17597 
    17598 /* System header to define __stub macros and hopefully few prototypes,
    17599     which can conflict with char shl_load (); below.
    17600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17601     <limits.h> exists even on freestanding compilers.  */
    17602 
    17603 #ifdef __STDC__
    17604 # include <limits.h>
    17605 #else
    17606 # include <assert.h>
    17607 #endif
    17608 
    17609 #undef shl_load
    17610 
    17611 /* Override any gcc2 internal prototype to avoid an error.  */
    17612 #ifdef __cplusplus
    17613 extern "C"
    17614 {
    17615 #endif
    17616 /* We use char because int might match the return type of a gcc2
    17617    builtin and then its argument prototype would still apply.  */
    17618 char shl_load ();
    17619 /* The GNU C library defines this for functions which it implements
    17620     to always fail with ENOSYS.  Some functions are actually named
    17621     something starting with __ and the normal name is an alias.  */
    17622 #if defined (__stub_shl_load) || defined (__stub___shl_load)
    17623 choke me
    17624 #else
    17625 char (*f) () = shl_load;
    17626 #endif
    17627 #ifdef __cplusplus
    17628 }
    17629 #endif
    17630 
    17631 int
    17632 main ()
    17633 {
    17634 return f != shl_load;
    17635   ;
    17636   return 0;
    17637 }
    17638 _ACEOF
    17639 rm -f conftest.$ac_objext conftest$ac_exeext
    17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17641   (eval $ac_link) 2>conftest.er1
    17642   ac_status=$?
    17643   grep -v '^ *+' conftest.er1 >conftest.err
    17644   rm -f conftest.er1
    17645   cat conftest.err >&5
    17646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17647   (exit $ac_status); } &&
    17648          { ac_try='test -z "$ac_c_werror_flag"
    17649                          || test ! -s conftest.err'
    17650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17651   (eval $ac_try) 2>&5
    17652   ac_status=$?
    17653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17654   (exit $ac_status); }; } &&
    17655          { ac_try='test -s conftest$ac_exeext'
    17656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17657   (eval $ac_try) 2>&5
    17658   ac_status=$?
    17659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17660   (exit $ac_status); }; }; then
    17661   ac_cv_func_shl_load=yes
    17662 else
    17663   echo "$as_me: failed program was:" >&5
    17664 sed 's/^/| /' conftest.$ac_ext >&5
    17665 
    17666 ac_cv_func_shl_load=no
    17667 fi
    17668 rm -f conftest.err conftest.$ac_objext \
    17669       conftest$ac_exeext conftest.$ac_ext
    17670 fi
    17671 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
    17672 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
    17673 if test $ac_cv_func_shl_load = yes; then
    17674   lt_cv_dlopen="shl_load"
    17675 else
    17676   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    17677 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
    17678 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    17679   echo $ECHO_N "(cached) $ECHO_C" >&6
    17680 else
    17681   ac_check_lib_save_LIBS=$LIBS
    17682 LIBS="-ldld  $LIBS"
    17683 cat >conftest.$ac_ext <<_ACEOF
    17684 /* confdefs.h.  */
    17685 _ACEOF
    17686 cat confdefs.h >>conftest.$ac_ext
    17687 cat >>conftest.$ac_ext <<_ACEOF
    17688 /* end confdefs.h.  */
    17689 
    17690 /* Override any gcc2 internal prototype to avoid an error.  */
    17691 #ifdef __cplusplus
    17692 extern "C"
    17693 #endif
    17694 /* We use char because int might match the return type of a gcc2
    17695    builtin and then its argument prototype would still apply.  */
    17696 char shl_load ();
    17697 int
    17698 main ()
    17699 {
    17700 shl_load ();
    17701   ;
    17702   return 0;
    17703 }
    17704 _ACEOF
    17705 rm -f conftest.$ac_objext conftest$ac_exeext
    17706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17707   (eval $ac_link) 2>conftest.er1
    17708   ac_status=$?
    17709   grep -v '^ *+' conftest.er1 >conftest.err
    17710   rm -f conftest.er1
    17711   cat conftest.err >&5
    17712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17713   (exit $ac_status); } &&
    17714          { ac_try='test -z "$ac_c_werror_flag"
    17715                          || test ! -s conftest.err'
    17716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17717   (eval $ac_try) 2>&5
    17718   ac_status=$?
    17719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17720   (exit $ac_status); }; } &&
    17721          { ac_try='test -s conftest$ac_exeext'
    17722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17723   (eval $ac_try) 2>&5
    17724   ac_status=$?
    17725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17726   (exit $ac_status); }; }; then
    17727   ac_cv_lib_dld_shl_load=yes
    17728 else
    17729   echo "$as_me: failed program was:" >&5
    17730 sed 's/^/| /' conftest.$ac_ext >&5
    17731 
    17732 ac_cv_lib_dld_shl_load=no
    17733 fi
    17734 rm -f conftest.err conftest.$ac_objext \
    17735       conftest$ac_exeext conftest.$ac_ext
    17736 LIBS=$ac_check_lib_save_LIBS
    17737 fi
    17738 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    17739 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
    17740 if test $ac_cv_lib_dld_shl_load = yes; then
    17741   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
    17742 else
    17743   echo "$as_me:$LINENO: checking for dlopen" >&5
    17744 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
    17745 if test "${ac_cv_func_dlopen+set}" = set; then
    17746   echo $ECHO_N "(cached) $ECHO_C" >&6
    17747 else
    17748   cat >conftest.$ac_ext <<_ACEOF
    17749 /* confdefs.h.  */
    17750 _ACEOF
    17751 cat confdefs.h >>conftest.$ac_ext
    17752 cat >>conftest.$ac_ext <<_ACEOF
    17753 /* end confdefs.h.  */
    17754 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
    17755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17756 #define dlopen innocuous_dlopen
    17757 
    17758 /* System header to define __stub macros and hopefully few prototypes,
    17759     which can conflict with char dlopen (); below.
    17760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17761     <limits.h> exists even on freestanding compilers.  */
    17762 
    17763 #ifdef __STDC__
    17764 # include <limits.h>
    17765 #else
    17766 # include <assert.h>
    17767 #endif
    17768 
    17769 #undef dlopen
    17770 
    17771 /* Override any gcc2 internal prototype to avoid an error.  */
    17772 #ifdef __cplusplus
    17773 extern "C"
    17774 {
    17775 #endif
    17776 /* We use char because int might match the return type of a gcc2
    17777    builtin and then its argument prototype would still apply.  */
    17778 char dlopen ();
    17779 /* The GNU C library defines this for functions which it implements
    17780     to always fail with ENOSYS.  Some functions are actually named
    17781     something starting with __ and the normal name is an alias.  */
    17782 #if defined (__stub_dlopen) || defined (__stub___dlopen)
    17783 choke me
    17784 #else
    17785 char (*f) () = dlopen;
    17786 #endif
    17787 #ifdef __cplusplus
    17788 }
    17789 #endif
    17790 
    17791 int
    17792 main ()
    17793 {
    17794 return f != dlopen;
    17795   ;
    17796   return 0;
    17797 }
    17798 _ACEOF
    17799 rm -f conftest.$ac_objext conftest$ac_exeext
    17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17801   (eval $ac_link) 2>conftest.er1
    17802   ac_status=$?
    17803   grep -v '^ *+' conftest.er1 >conftest.err
    17804   rm -f conftest.er1
    17805   cat conftest.err >&5
    17806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17807   (exit $ac_status); } &&
    17808          { ac_try='test -z "$ac_c_werror_flag"
    17809                          || test ! -s conftest.err'
    17810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17811   (eval $ac_try) 2>&5
    17812   ac_status=$?
    17813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17814   (exit $ac_status); }; } &&
    17815          { ac_try='test -s conftest$ac_exeext'
    17816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17817   (eval $ac_try) 2>&5
    17818   ac_status=$?
    17819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17820   (exit $ac_status); }; }; then
    17821   ac_cv_func_dlopen=yes
    17822 else
    17823   echo "$as_me: failed program was:" >&5
    17824 sed 's/^/| /' conftest.$ac_ext >&5
    17825 
    17826 ac_cv_func_dlopen=no
    17827 fi
    17828 rm -f conftest.err conftest.$ac_objext \
    17829       conftest$ac_exeext conftest.$ac_ext
    17830 fi
    17831 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
    17832 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
    17833 if test $ac_cv_func_dlopen = yes; then
    17834   lt_cv_dlopen="dlopen"
    17835 else
    17836   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    17837 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    17838 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    17839   echo $ECHO_N "(cached) $ECHO_C" >&6
    17840 else
    17841   ac_check_lib_save_LIBS=$LIBS
    17842 LIBS="-ldl  $LIBS"
    17843 cat >conftest.$ac_ext <<_ACEOF
    17844 /* confdefs.h.  */
    17845 _ACEOF
    17846 cat confdefs.h >>conftest.$ac_ext
    17847 cat >>conftest.$ac_ext <<_ACEOF
    17848 /* end confdefs.h.  */
    17849 
    17850 /* Override any gcc2 internal prototype to avoid an error.  */
    17851 #ifdef __cplusplus
    17852 extern "C"
    17853 #endif
    17854 /* We use char because int might match the return type of a gcc2
    17855    builtin and then its argument prototype would still apply.  */
    17856 char dlopen ();
    17857 int
    17858 main ()
    17859 {
    17860 dlopen ();
    17861   ;
    17862   return 0;
    17863 }
    17864 _ACEOF
    17865 rm -f conftest.$ac_objext conftest$ac_exeext
    17866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17867   (eval $ac_link) 2>conftest.er1
    17868   ac_status=$?
    17869   grep -v '^ *+' conftest.er1 >conftest.err
    17870   rm -f conftest.er1
    17871   cat conftest.err >&5
    17872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17873   (exit $ac_status); } &&
    17874          { ac_try='test -z "$ac_c_werror_flag"
    17875                          || test ! -s conftest.err'
    17876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17877   (eval $ac_try) 2>&5
    17878   ac_status=$?
    17879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17880   (exit $ac_status); }; } &&
    17881          { ac_try='test -s conftest$ac_exeext'
    17882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17883   (eval $ac_try) 2>&5
    17884   ac_status=$?
    17885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17886   (exit $ac_status); }; }; then
    17887   ac_cv_lib_dl_dlopen=yes
    17888 else
    17889   echo "$as_me: failed program was:" >&5
    17890 sed 's/^/| /' conftest.$ac_ext >&5
    17891 
    17892 ac_cv_lib_dl_dlopen=no
    17893 fi
    17894 rm -f conftest.err conftest.$ac_objext \
    17895       conftest$ac_exeext conftest.$ac_ext
    17896 LIBS=$ac_check_lib_save_LIBS
    17897 fi
    17898 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    17899 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    17900 if test $ac_cv_lib_dl_dlopen = yes; then
    17901   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    17902 else
    17903   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
    17904 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
    17905 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
    17906   echo $ECHO_N "(cached) $ECHO_C" >&6
    17907 else
    17908   ac_check_lib_save_LIBS=$LIBS
    17909 LIBS="-lsvld  $LIBS"
    17910 cat >conftest.$ac_ext <<_ACEOF
    17911 /* confdefs.h.  */
    17912 _ACEOF
    17913 cat confdefs.h >>conftest.$ac_ext
    17914 cat >>conftest.$ac_ext <<_ACEOF
    17915 /* end confdefs.h.  */
    17916 
    17917 /* Override any gcc2 internal prototype to avoid an error.  */
    17918 #ifdef __cplusplus
    17919 extern "C"
    17920 #endif
    17921 /* We use char because int might match the return type of a gcc2
    17922    builtin and then its argument prototype would still apply.  */
    17923 char dlopen ();
    17924 int
    17925 main ()
    17926 {
    17927 dlopen ();
    17928   ;
    17929   return 0;
    17930 }
    17931 _ACEOF
    17932 rm -f conftest.$ac_objext conftest$ac_exeext
    17933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17934   (eval $ac_link) 2>conftest.er1
    17935   ac_status=$?
    17936   grep -v '^ *+' conftest.er1 >conftest.err
    17937   rm -f conftest.er1
    17938   cat conftest.err >&5
    17939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17940   (exit $ac_status); } &&
    17941          { ac_try='test -z "$ac_c_werror_flag"
    17942                          || test ! -s conftest.err'
    17943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17944   (eval $ac_try) 2>&5
    17945   ac_status=$?
    17946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17947   (exit $ac_status); }; } &&
    17948          { ac_try='test -s conftest$ac_exeext'
    17949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    17950   (eval $ac_try) 2>&5
    17951   ac_status=$?
    17952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17953   (exit $ac_status); }; }; then
    17954   ac_cv_lib_svld_dlopen=yes
    17955 else
    17956   echo "$as_me: failed program was:" >&5
    17957 sed 's/^/| /' conftest.$ac_ext >&5
    17958 
    17959 ac_cv_lib_svld_dlopen=no
    17960 fi
    17961 rm -f conftest.err conftest.$ac_objext \
    17962       conftest$ac_exeext conftest.$ac_ext
    17963 LIBS=$ac_check_lib_save_LIBS
    17964 fi
    17965 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
    17966 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
    17967 if test $ac_cv_lib_svld_dlopen = yes; then
    17968   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
    17969 else
    17970   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
    17971 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
    17972 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
    17973   echo $ECHO_N "(cached) $ECHO_C" >&6
    17974 else
    17975   ac_check_lib_save_LIBS=$LIBS
    17976 LIBS="-ldld  $LIBS"
    17977 cat >conftest.$ac_ext <<_ACEOF
    17978 /* confdefs.h.  */
    17979 _ACEOF
    17980 cat confdefs.h >>conftest.$ac_ext
    17981 cat >>conftest.$ac_ext <<_ACEOF
    17982 /* end confdefs.h.  */
    17983 
    17984 /* Override any gcc2 internal prototype to avoid an error.  */
    17985 #ifdef __cplusplus
    17986 extern "C"
    17987 #endif
    17988 /* We use char because int might match the return type of a gcc2
    17989    builtin and then its argument prototype would still apply.  */
    17990 char dld_link ();
    17991 int
    17992 main ()
    17993 {
    17994 dld_link ();
    17995   ;
    17996   return 0;
    17997 }
    17998 _ACEOF
    17999 rm -f conftest.$ac_objext conftest$ac_exeext
    18000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18001   (eval $ac_link) 2>conftest.er1
    18002   ac_status=$?
    18003   grep -v '^ *+' conftest.er1 >conftest.err
    18004   rm -f conftest.er1
    18005   cat conftest.err >&5
    18006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18007   (exit $ac_status); } &&
    18008          { ac_try='test -z "$ac_c_werror_flag"
    18009                          || test ! -s conftest.err'
    18010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18011   (eval $ac_try) 2>&5
    18012   ac_status=$?
    18013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18014   (exit $ac_status); }; } &&
    18015          { ac_try='test -s conftest$ac_exeext'
    18016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18017   (eval $ac_try) 2>&5
    18018   ac_status=$?
    18019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18020   (exit $ac_status); }; }; then
    18021   ac_cv_lib_dld_dld_link=yes
    18022 else
    18023   echo "$as_me: failed program was:" >&5
    18024 sed 's/^/| /' conftest.$ac_ext >&5
    18025 
    18026 ac_cv_lib_dld_dld_link=no
    18027 fi
    18028 rm -f conftest.err conftest.$ac_objext \
    18029       conftest$ac_exeext conftest.$ac_ext
    18030 LIBS=$ac_check_lib_save_LIBS
    18031 fi
    18032 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
    18033 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
    18034 if test $ac_cv_lib_dld_dld_link = yes; then
    18035   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
    18036 fi
    18037 
    18038 
    18039 fi
    18040 
    18041 
    18042 fi
    18043 
    18044 
    18045 fi
    18046 
    18047 
    18048 fi
    18049 
    18050 
    18051 fi
    18052 
    18053     ;;
    18054   esac
    18055 
    18056   if test "x$lt_cv_dlopen" != xno; then
    18057     enable_dlopen=yes
    18058   else
    18059     enable_dlopen=no
    18060   fi
    18061 
    18062   case $lt_cv_dlopen in
    18063   dlopen)
    18064     save_CPPFLAGS="$CPPFLAGS"
    18065     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    18066 
    18067     save_LDFLAGS="$LDFLAGS"
    18068     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    18069 
    18070     save_LIBS="$LIBS"
    18071     LIBS="$lt_cv_dlopen_libs $LIBS"
    18072 
    18073     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
    18074 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
    18075 if test "${lt_cv_dlopen_self+set}" = set; then
    18076   echo $ECHO_N "(cached) $ECHO_C" >&6
    18077 else
    18078           if test "$cross_compiling" = yes; then :
    18079   lt_cv_dlopen_self=cross
    18080 else
    18081   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    18082   lt_status=$lt_dlunknown
    18083   cat > conftest.$ac_ext <<EOF
    18084 #line 18084 "configure"
    18085 #include "confdefs.h"
    18086 
    18087 #if HAVE_DLFCN_H
    18088 #include <dlfcn.h>
    18089 #endif
    18090 
    18091 #include <stdio.h>
    18092 
    18093 #ifdef RTLD_GLOBAL
    18094 #  define LT_DLGLOBAL           RTLD_GLOBAL
    18095 #else
    18096 #  ifdef DL_GLOBAL
    18097 #    define LT_DLGLOBAL         DL_GLOBAL
    18098 #  else
    18099 #    define LT_DLGLOBAL         0
    18100 #  endif
    18101 #endif
    18102 
    18103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    18104    find out it does not work in some platform. */
    18105 #ifndef LT_DLLAZY_OR_NOW
    18106 #  ifdef RTLD_LAZY
    18107 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    18108 #  else
    18109 #    ifdef DL_LAZY
    18110 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    18111 #    else
    18112 #      ifdef RTLD_NOW
    18113 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    18114 #      else
    18115 #        ifdef DL_NOW
    18116 #          define LT_DLLAZY_OR_NOW      DL_NOW
    18117 #        else
    18118 #          define LT_DLLAZY_OR_NOW      0
    18119 #        endif
    18120 #      endif
    18121 #    endif
    18122 #  endif
    18123 #endif
    18124 
    18125 #ifdef __cplusplus
    18126 extern "C" void exit (int);
    18127 #endif
    18128 
    18129 void fnord() { int i=42;}
    18130 int main ()
    18131 {
    18132   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    18133   int status = $lt_dlunknown;
    18134 
    18135   if (self)
    18136     {
    18137       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    18138       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
    18139       /* dlclose (self); */
    18140     }
    18141 
    18142     exit (status);
    18143 }
    18144 EOF
    18145   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18146   (eval $ac_link) 2>&5
    18147   ac_status=$?
    18148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18149   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
    18150     (./conftest; exit; ) 2>/dev/null
    18151     lt_status=$?
    18152     case x$lt_status in
    18153       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
    18154       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
    18155       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
    18156     esac
    18157   else :
    18158     # compilation failed
    18159     lt_cv_dlopen_self=no
    18160   fi
    18161 fi
    18162 rm -fr conftest*
    18163 
    18164 
    18165 fi
    18166 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
    18167 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
    18168 
    18169     if test "x$lt_cv_dlopen_self" = xyes; then
    18170       LDFLAGS="$LDFLAGS $link_static_flag"
    18171       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
    18172 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
    18173 if test "${lt_cv_dlopen_self_static+set}" = set; then
    18174   echo $ECHO_N "(cached) $ECHO_C" >&6
    18175 else
    18176           if test "$cross_compiling" = yes; then :
    18177   lt_cv_dlopen_self_static=cross
    18178 else
    18179   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    18180   lt_status=$lt_dlunknown
    18181   cat > conftest.$ac_ext <<EOF
    18182 #line 18182 "configure"
    18183 #include "confdefs.h"
    18184 
    18185 #if HAVE_DLFCN_H
    18186 #include <dlfcn.h>
    18187 #endif
    18188 
    18189 #include <stdio.h>
    18190 
    18191 #ifdef RTLD_GLOBAL
    18192 #  define LT_DLGLOBAL           RTLD_GLOBAL
    18193 #else
    18194 #  ifdef DL_GLOBAL
    18195 #    define LT_DLGLOBAL         DL_GLOBAL
    18196 #  else
    18197 #    define LT_DLGLOBAL         0
    18198 #  endif
    18199 #endif
    18200 
    18201 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    18202    find out it does not work in some platform. */
    18203 #ifndef LT_DLLAZY_OR_NOW
    18204 #  ifdef RTLD_LAZY
    18205 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    18206 #  else
    18207 #    ifdef DL_LAZY
    18208 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    18209 #    else
    18210 #      ifdef RTLD_NOW
    18211 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    18212 #      else
    18213 #        ifdef DL_NOW
    18214 #          define LT_DLLAZY_OR_NOW      DL_NOW
    18215 #        else
    18216 #          define LT_DLLAZY_OR_NOW      0
    18217 #        endif
    18218 #      endif
    18219 #    endif
    18220 #  endif
    18221 #endif
    18222 
    18223 #ifdef __cplusplus
    18224 extern "C" void exit (int);
    18225 #endif
    18226 
    18227 void fnord() { int i=42;}
    18228 int main ()
    18229 {
    18230   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    18231   int status = $lt_dlunknown;
    18232 
    18233   if (self)
    18234     {
    18235       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    18236       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
    18237       /* dlclose (self); */
    18238     }
    18239 
    18240     exit (status);
    18241 }
    18242 EOF
    18243   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18244   (eval $ac_link) 2>&5
    18245   ac_status=$?
    18246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18247   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
    18248     (./conftest; exit; ) 2>/dev/null
    18249     lt_status=$?
    18250     case x$lt_status in
    18251       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
    18252       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
    18253       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
    18254     esac
    18255   else :
    18256     # compilation failed
    18257     lt_cv_dlopen_self_static=no
    18258   fi
    18259 fi
    18260 rm -fr conftest*
    18261 
    18262 
    18263 fi
    18264 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
    18265 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
    18266     fi
    18267 
    18268     CPPFLAGS="$save_CPPFLAGS"
    18269     LDFLAGS="$save_LDFLAGS"
    18270     LIBS="$save_LIBS"
    18271     ;;
    18272   esac
    18273 
    18274   case $lt_cv_dlopen_self in
    18275   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
    18276   *) enable_dlopen_self=unknown ;;
    18277   esac
    18278 
    18279   case $lt_cv_dlopen_self_static in
    18280   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
    18281   *) enable_dlopen_self_static=unknown ;;
    18282   esac
    18283 fi
    18284 
    18285 
    18286 # The else clause should only fire when bootstrapping the
    18287 # libtool distribution, otherwise you forgot to ship ltmain.sh
    18288 # with your package, and you will get complaints that there are
    18289 # no rules to generate ltmain.sh.
    18290 if test -f "$ltmain"; then
    18291   # See if we are running on zsh, and set the options which allow our commands through
    18292   # without removal of \ escapes.
    18293   if test -n "${ZSH_VERSION+set}" ; then
    18294     setopt NO_GLOB_SUBST
    18295   fi
    18296   # Now quote all the things that may contain metacharacters while being
    18297   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    18298   # variables and quote the copies for generation of the libtool script.
    18299   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
    18300     SED SHELL STRIP \
    18301     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    18302     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    18303     deplibs_check_method reload_flag reload_cmds need_locks \
    18304     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    18305     lt_cv_sys_global_symbol_to_c_name_address \
    18306     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    18307     old_postinstall_cmds old_postuninstall_cmds \
    18308     compiler_GCJ \
    18309     CC_GCJ \
    18310     LD_GCJ \
    18311     lt_prog_compiler_wl_GCJ \
    18312     lt_prog_compiler_pic_GCJ \
    18313     lt_prog_compiler_static_GCJ \
    18314     lt_prog_compiler_no_builtin_flag_GCJ \
    18315     export_dynamic_flag_spec_GCJ \
    18316     thread_safe_flag_spec_GCJ \
    18317     whole_archive_flag_spec_GCJ \
    18318     enable_shared_with_static_runtimes_GCJ \
    18319     old_archive_cmds_GCJ \
    18320     old_archive_from_new_cmds_GCJ \
    18321     predep_objects_GCJ \
    18322     postdep_objects_GCJ \
    18323     predeps_GCJ \
    18324     postdeps_GCJ \
    18325     compiler_lib_search_path_GCJ \
    18326     archive_cmds_GCJ \
    18327     archive_expsym_cmds_GCJ \
    18328     postinstall_cmds_GCJ \
    18329     postuninstall_cmds_GCJ \
    18330     old_archive_from_expsyms_cmds_GCJ \
    18331     allow_undefined_flag_GCJ \
    18332     no_undefined_flag_GCJ \
    18333     export_symbols_cmds_GCJ \
    18334     hardcode_libdir_flag_spec_GCJ \
    18335     hardcode_libdir_flag_spec_ld_GCJ \
    18336     hardcode_libdir_separator_GCJ \
    18337     hardcode_automatic_GCJ \
    18338     module_cmds_GCJ \
    18339     module_expsym_cmds_GCJ \
    18340     lt_cv_prog_compiler_c_o_GCJ \
    18341     exclude_expsyms_GCJ \
    18342     include_expsyms_GCJ; do
    18343 
    18344     case $var in
    18345     old_archive_cmds_GCJ | \
    18346     old_archive_from_new_cmds_GCJ | \
    18347     archive_cmds_GCJ | \
    18348     archive_expsym_cmds_GCJ | \
    18349     module_cmds_GCJ | \
    18350     module_expsym_cmds_GCJ | \
    18351     old_archive_from_expsyms_cmds_GCJ | \
    18352     export_symbols_cmds_GCJ | \
    18353     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    18354     postinstall_cmds | postuninstall_cmds | \
    18355     old_postinstall_cmds | old_postuninstall_cmds | \
    18356     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    18357       # Double-quote double-evaled strings.
    18358       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    18359       ;;
    18360     *)
    18361       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    18362       ;;
    18363     esac
    18364   done
    18365 
    18366   case $lt_echo in
    18367   *'\$0 --fallback-echo"')
    18368     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    18369     ;;
    18370   esac
    18371 
    18372 cfgfile="$ofile"
    18373 
    18374   cat <<__EOF__ >> "$cfgfile"
    18375 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    18376 
    18377 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    18378 
    18379 # Shell to use when invoking shell scripts.
    18380 SHELL=$lt_SHELL
    18381 
    18382 # Whether or not to build shared libraries.
    18383 build_libtool_libs=$enable_shared
    18384 
    18385 # Whether or not to build static libraries.
    18386 build_old_libs=$enable_static
    18387 
    18388 # Whether or not to add -lc for building shared libraries.
    18389 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
    18390 
    18391 # Whether or not to disallow shared libs when runtime libs are static
    18392 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
    18393 
    18394 # Whether or not to optimize for fast installation.
    18395 fast_install=$enable_fast_install
    18396 
    18397 # The host system.
    18398 host_alias=$host_alias
    18399 host=$host
    18400 
    18401 # An echo program that does not interpret backslashes.
    18402 echo=$lt_echo
    18403 
    18404 # The archiver.
    18405 AR=$lt_AR
    18406 AR_FLAGS=$lt_AR_FLAGS
    18407 
    18408 # A C compiler.
    18409 LTCC=$lt_LTCC
    18410 
    18411 # A language-specific compiler.
    18412 CC=$lt_compiler_GCJ
    18413 
    18414 # Is the compiler the GNU C compiler?
    18415 with_gcc=$GCC_GCJ
    18416 
    18417 # An ERE matcher.
    18418 EGREP=$lt_EGREP
    18419 
    18420 # The linker used to build libraries.
    18421 LD=$lt_LD_GCJ
    18422 
    18423 # Whether we need hard or soft links.
    18424 LN_S=$lt_LN_S
    18425 
    18426 # A BSD-compatible nm program.
    18427 NM=$lt_NM
    18428 
    18429 # A symbol stripping program
    18430 STRIP=$lt_STRIP
    18431 
    18432 # Used to examine libraries when file_magic_cmd begins "file"
    18433 MAGIC_CMD=$MAGIC_CMD
    18434 
    18435 # Used on cygwin: DLL creation program.
    18436 DLLTOOL="$DLLTOOL"
    18437 
    18438 # Used on cygwin: object dumper.
    18439 OBJDUMP="$OBJDUMP"
    18440 
    18441 # Used on cygwin: assembler.
    18442 AS="$AS"
    18443 
    18444 # The name of the directory that contains temporary libtool files.
    18445 objdir=$objdir
    18446 
    18447 # How to create reloadable object files.
    18448 reload_flag=$lt_reload_flag
    18449 reload_cmds=$lt_reload_cmds
    18450 
    18451 # How to pass a linker flag through the compiler.
    18452 wl=$lt_lt_prog_compiler_wl_GCJ
    18453 
    18454 # Object file suffix (normally "o").
    18455 objext="$ac_objext"
    18456 
    18457 # Old archive suffix (normally "a").
    18458 libext="$libext"
    18459 
    18460 # Shared library suffix (normally ".so").
    18461 shrext_cmds='$shrext_cmds'
    18462 
    18463 # Executable file suffix (normally "").
    18464 exeext="$exeext"
    18465 
    18466 # Additional compiler flags for building library objects.
    18467 pic_flag=$lt_lt_prog_compiler_pic_GCJ
    18468 pic_mode=$pic_mode
    18469 
    18470 # What is the maximum length of a command?
    18471 max_cmd_len=$lt_cv_sys_max_cmd_len
    18472 
    18473 # Does compiler simultaneously support -c and -o options?
    18474 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
    18475 
    18476 # Must we lock files when doing compilation ?
    18477 need_locks=$lt_need_locks
    18478 
    18479 # Do we need the lib prefix for modules?
    18480 need_lib_prefix=$need_lib_prefix
    18481 
    18482 # Do we need a version for libraries?
    18483 need_version=$need_version
    18484 
    18485 # Whether dlopen is supported.
    18486 dlopen_support=$enable_dlopen
    18487 
    18488 # Whether dlopen of programs is supported.
    18489 dlopen_self=$enable_dlopen_self
    18490 
    18491 # Whether dlopen of statically linked programs is supported.
    18492 dlopen_self_static=$enable_dlopen_self_static
    18493 
    18494 # Compiler flag to prevent dynamic linking.
    18495 link_static_flag=$lt_lt_prog_compiler_static_GCJ
    18496 
    18497 # Compiler flag to turn off builtin functions.
    18498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
    18499 
    18500 # Compiler flag to allow reflexive dlopens.
    18501 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
    18502 
    18503 # Compiler flag to generate shared objects directly from archives.
    18504 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
    18505 
    18506 # Compiler flag to generate thread-safe objects.
    18507 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
    18508 
    18509 # Library versioning type.
    18510 version_type=$version_type
    18511 
    18512 # Format of library name prefix.
    18513 libname_spec=$lt_libname_spec
    18514 
    18515 # List of archive names.  First name is the real one, the rest are links.
    18516 # The last name is the one that the linker finds with -lNAME.
    18517 library_names_spec=$lt_library_names_spec
    18518 
    18519 # The coded name of the library, if different from the real name.
    18520 soname_spec=$lt_soname_spec
    18521 
    18522 # Commands used to build and install an old-style archive.
    18523 RANLIB=$lt_RANLIB
    18524 old_archive_cmds=$lt_old_archive_cmds_GCJ
    18525 old_postinstall_cmds=$lt_old_postinstall_cmds
    18526 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    18527 
    18528 # Create an old-style archive from a shared archive.
    18529 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
    18530 
    18531 # Create a temporary old-style archive to link instead of a shared archive.
    18532 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
    18533 
    18534 # Commands used to build and install a shared archive.
    18535 archive_cmds=$lt_archive_cmds_GCJ
    18536 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
    18537 postinstall_cmds=$lt_postinstall_cmds
    18538 postuninstall_cmds=$lt_postuninstall_cmds
    18539 
    18540 # Commands used to build a loadable module (assumed same as above if empty)
    18541 module_cmds=$lt_module_cmds_GCJ
    18542 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
    18543 
    18544 # Commands to strip libraries.
    18545 old_striplib=$lt_old_striplib
    18546 striplib=$lt_striplib
    18547 
    18548 # Dependencies to place before the objects being linked to create a
    18549 # shared library.
    18550 predep_objects=$lt_predep_objects_GCJ
    18551 
    18552 # Dependencies to place after the objects being linked to create a
    18553 # shared library.
    18554 postdep_objects=$lt_postdep_objects_GCJ
    18555 
    18556 # Dependencies to place before the objects being linked to create a
    18557 # shared library.
    18558 predeps=$lt_predeps_GCJ
    18559 
    18560 # Dependencies to place after the objects being linked to create a
    18561 # shared library.
    18562 postdeps=$lt_postdeps_GCJ
    18563 
    18564 # The library search path used internally by the compiler when linking
    18565 # a shared library.
    18566 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
    18567 
    18568 # Method to check whether dependent libraries are shared objects.
    18569 deplibs_check_method=$lt_deplibs_check_method
    18570 
    18571 # Command to use when deplibs_check_method == file_magic.
    18572 file_magic_cmd=$lt_file_magic_cmd
    18573 
    18574 # Flag that allows shared libraries with undefined symbols to be built.
    18575 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
    18576 
    18577 # Flag that forces no undefined symbols.
    18578 no_undefined_flag=$lt_no_undefined_flag_GCJ
    18579 
    18580 # Commands used to finish a libtool library installation in a directory.
    18581 finish_cmds=$lt_finish_cmds
    18582 
    18583 # Same as above, but a single script fragment to be evaled but not shown.
    18584 finish_eval=$lt_finish_eval
    18585 
    18586 # Take the output of nm and produce a listing of raw symbols and C names.
    18587 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    18588 
    18589 # Transform the output of nm in a proper C declaration
    18590 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    18591 
    18592 # Transform the output of nm in a C name address pair
    18593 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    18594 
    18595 # This is the shared library runtime path variable.
    18596 runpath_var=$runpath_var
    18597 
    18598 # This is the shared library path variable.
    18599 shlibpath_var=$shlibpath_var
    18600 
    18601 # Is shlibpath searched before the hard-coded library search path?
    18602 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    18603 
    18604 # How to hardcode a shared library path into an executable.
    18605 hardcode_action=$hardcode_action_GCJ
    18606 
    18607 # Whether we should hardcode library paths into libraries.
    18608 hardcode_into_libs=$hardcode_into_libs
    18609 
    18610 # Flag to hardcode \$libdir into a binary during linking.
    18611 # This must work even if \$libdir does not exist.
    18612 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
    18613 
    18614 # If ld is used when linking, flag to hardcode \$libdir into
    18615 # a binary during linking. This must work even if \$libdir does
    18616 # not exist.
    18617 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
    18618 
    18619 # Whether we need a single -rpath flag with a separated argument.
    18620 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
    18621 
    18622 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    18623 # resulting binary.
    18624 hardcode_direct=$hardcode_direct_GCJ
    18625 
    18626 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    18627 # resulting binary.
    18628 hardcode_minus_L=$hardcode_minus_L_GCJ
    18629 
    18630 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    18631 # the resulting binary.
    18632 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
    18633 
    18634 # Set to yes if building a shared library automatically hardcodes DIR into the library
    18635 # and all subsequent libraries and executables linked against it.
    18636 hardcode_automatic=$hardcode_automatic_GCJ
    18637 
    18638 # Variables whose values should be saved in libtool wrapper scripts and
    18639 # restored at relink time.
    18640 variables_saved_for_relink="$variables_saved_for_relink"
    18641 
    18642 # Whether libtool must link a program against all its dependency libraries.
    18643 link_all_deplibs=$link_all_deplibs_GCJ
    18644 
    18645 # Compile-time system search path for libraries
    18646 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    18647 
    18648 # Run-time system search path for libraries
    18649 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    18650 
    18651 # Fix the shell variable \$srcfile for the compiler.
    18652 fix_srcfile_path="$fix_srcfile_path_GCJ"
    18653 
    18654 # Set to yes if exported symbols are required.
    18655 always_export_symbols=$always_export_symbols_GCJ
    18656 
    18657 # The commands to list exported symbols.
    18658 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
    18659 
    18660 # The commands to extract the exported symbol list from a shared archive.
    18661 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    18662 
    18663 # Symbols that should not be listed in the preloaded symbols.
    18664 exclude_expsyms=$lt_exclude_expsyms_GCJ
    18665 
    18666 # Symbols that must always be exported.
    18667 include_expsyms=$lt_include_expsyms_GCJ
    18668 
    18669 # ### END LIBTOOL TAG CONFIG: $tagname
    18670 
    18671 __EOF__
    18672 
    18673 
    18674 else
    18675   # If there is no Makefile yet, we rely on a make rule to execute
    18676   # `config.status --recheck' to rerun these tests and create the
    18677   # libtool script then.
    18678   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    18679   if test -f "$ltmain_in"; then
    18680     test -f Makefile && make "$ltmain"
    18681   fi
    18682 fi
    18683 
    18684 
    18685 ac_ext=c
    18686 ac_cpp='$CPP $CPPFLAGS'
    18687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    18688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    18689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    18690 
    18691 CC="$lt_save_CC"
    18692 
    18693         else
    18694           tagname=""
    18695         fi
    18696         ;;
    18697 
    18698       RC)
    18699 
    18700 
    18701 
    18702 # Source file extension for RC test sources.
    18703 ac_ext=rc
    18704 
    18705 # Object file extension for compiled RC test sources.
    18706 objext=o
    18707 objext_RC=$objext
    18708 
    18709 # Code to be used in simple compile tests
    18710 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
    18711 
    18712 # Code to be used in simple link tests
    18713 lt_simple_link_test_code="$lt_simple_compile_test_code"
    18714 
    18715 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    18716 
    18717 # If no C compiler was specified, use CC.
    18718 LTCC=${LTCC-"$CC"}
    18719 
    18720 # Allow CC to be a program name with arguments.
    18721 compiler=$CC
    18722 
    18723 
    18724 # Allow CC to be a program name with arguments.
    18725 lt_save_CC="$CC"
    18726 CC=${RC-"windres"}
    18727 compiler=$CC
    18728 compiler_RC=$CC
    18729 lt_cv_prog_compiler_c_o_RC=yes
    18730 
    18731 # The else clause should only fire when bootstrapping the
    18732 # libtool distribution, otherwise you forgot to ship ltmain.sh
    18733 # with your package, and you will get complaints that there are
    18734 # no rules to generate ltmain.sh.
    18735 if test -f "$ltmain"; then
    18736   # See if we are running on zsh, and set the options which allow our commands through
    18737   # without removal of \ escapes.
    18738   if test -n "${ZSH_VERSION+set}" ; then
    18739     setopt NO_GLOB_SUBST
    18740   fi
    18741   # Now quote all the things that may contain metacharacters while being
    18742   # careful not to overquote the AC_SUBSTed values.  We take copies of the
    18743   # variables and quote the copies for generation of the libtool script.
    18744   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
    18745     SED SHELL STRIP \
    18746     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
    18747     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
    18748     deplibs_check_method reload_flag reload_cmds need_locks \
    18749     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
    18750     lt_cv_sys_global_symbol_to_c_name_address \
    18751     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    18752     old_postinstall_cmds old_postuninstall_cmds \
    18753     compiler_RC \
    18754     CC_RC \
    18755     LD_RC \
    18756     lt_prog_compiler_wl_RC \
    18757     lt_prog_compiler_pic_RC \
    18758     lt_prog_compiler_static_RC \
    18759     lt_prog_compiler_no_builtin_flag_RC \
    18760     export_dynamic_flag_spec_RC \
    18761     thread_safe_flag_spec_RC \
    18762     whole_archive_flag_spec_RC \
    18763     enable_shared_with_static_runtimes_RC \
    18764     old_archive_cmds_RC \
    18765     old_archive_from_new_cmds_RC \
    18766     predep_objects_RC \
    18767     postdep_objects_RC \
    18768     predeps_RC \
    18769     postdeps_RC \
    18770     compiler_lib_search_path_RC \
    18771     archive_cmds_RC \
    18772     archive_expsym_cmds_RC \
    18773     postinstall_cmds_RC \
    18774     postuninstall_cmds_RC \
    18775     old_archive_from_expsyms_cmds_RC \
    18776     allow_undefined_flag_RC \
    18777     no_undefined_flag_RC \
    18778     export_symbols_cmds_RC \
    18779     hardcode_libdir_flag_spec_RC \
    18780     hardcode_libdir_flag_spec_ld_RC \
    18781     hardcode_libdir_separator_RC \
    18782     hardcode_automatic_RC \
    18783     module_cmds_RC \
    18784     module_expsym_cmds_RC \
    18785     lt_cv_prog_compiler_c_o_RC \
    18786     exclude_expsyms_RC \
    18787     include_expsyms_RC; do
    18788 
    18789     case $var in
    18790     old_archive_cmds_RC | \
    18791     old_archive_from_new_cmds_RC | \
    18792     archive_cmds_RC | \
    18793     archive_expsym_cmds_RC | \
    18794     module_cmds_RC | \
    18795     module_expsym_cmds_RC | \
    18796     old_archive_from_expsyms_cmds_RC | \
    18797     export_symbols_cmds_RC | \
    18798     extract_expsyms_cmds | reload_cmds | finish_cmds | \
    18799     postinstall_cmds | postuninstall_cmds | \
    18800     old_postinstall_cmds | old_postuninstall_cmds | \
    18801     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    18802       # Double-quote double-evaled strings.
    18803       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
    18804       ;;
    18805     *)
    18806       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
    18807       ;;
    18808     esac
    18809   done
    18810 
    18811   case $lt_echo in
    18812   *'\$0 --fallback-echo"')
    18813     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
    18814     ;;
    18815   esac
    18816 
    18817 cfgfile="$ofile"
    18818 
    18819   cat <<__EOF__ >> "$cfgfile"
    18820 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
    18821 
    18822 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    18823 
    18824 # Shell to use when invoking shell scripts.
    18825 SHELL=$lt_SHELL
    18826 
    18827 # Whether or not to build shared libraries.
    18828 build_libtool_libs=$enable_shared
    18829 
    18830 # Whether or not to build static libraries.
    18831 build_old_libs=$enable_static
    18832 
    18833 # Whether or not to add -lc for building shared libraries.
    18834 build_libtool_need_lc=$archive_cmds_need_lc_RC
    18835 
    18836 # Whether or not to disallow shared libs when runtime libs are static
    18837 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
    18838 
    18839 # Whether or not to optimize for fast installation.
    18840 fast_install=$enable_fast_install
    18841 
    18842 # The host system.
    18843 host_alias=$host_alias
    18844 host=$host
    18845 
    18846 # An echo program that does not interpret backslashes.
    18847 echo=$lt_echo
    18848 
    18849 # The archiver.
    18850 AR=$lt_AR
    18851 AR_FLAGS=$lt_AR_FLAGS
    18852 
    18853 # A C compiler.
    18854 LTCC=$lt_LTCC
    18855 
    18856 # A language-specific compiler.
    18857 CC=$lt_compiler_RC
    18858 
    18859 # Is the compiler the GNU C compiler?
    18860 with_gcc=$GCC_RC
    18861 
    18862 # An ERE matcher.
    18863 EGREP=$lt_EGREP
    18864 
    18865 # The linker used to build libraries.
    18866 LD=$lt_LD_RC
    18867 
    18868 # Whether we need hard or soft links.
    18869 LN_S=$lt_LN_S
    18870 
    18871 # A BSD-compatible nm program.
    18872 NM=$lt_NM
    18873 
    18874 # A symbol stripping program
    18875 STRIP=$lt_STRIP
    18876 
    18877 # Used to examine libraries when file_magic_cmd begins "file"
    18878 MAGIC_CMD=$MAGIC_CMD
    18879 
    18880 # Used on cygwin: DLL creation program.
    18881 DLLTOOL="$DLLTOOL"
    18882 
    18883 # Used on cygwin: object dumper.
    18884 OBJDUMP="$OBJDUMP"
    18885 
    18886 # Used on cygwin: assembler.
    18887 AS="$AS"
    18888 
    18889 # The name of the directory that contains temporary libtool files.
    18890 objdir=$objdir
    18891 
    18892 # How to create reloadable object files.
    18893 reload_flag=$lt_reload_flag
    18894 reload_cmds=$lt_reload_cmds
    18895 
    18896 # How to pass a linker flag through the compiler.
    18897 wl=$lt_lt_prog_compiler_wl_RC
    18898 
    18899 # Object file suffix (normally "o").
    18900 objext="$ac_objext"
    18901 
    18902 # Old archive suffix (normally "a").
    18903 libext="$libext"
    18904 
    18905 # Shared library suffix (normally ".so").
    18906 shrext_cmds='$shrext_cmds'
    18907 
    18908 # Executable file suffix (normally "").
    18909 exeext="$exeext"
    18910 
    18911 # Additional compiler flags for building library objects.
    18912 pic_flag=$lt_lt_prog_compiler_pic_RC
    18913 pic_mode=$pic_mode
    18914 
    18915 # What is the maximum length of a command?
    18916 max_cmd_len=$lt_cv_sys_max_cmd_len
    18917 
    18918 # Does compiler simultaneously support -c and -o options?
    18919 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
    18920 
    18921 # Must we lock files when doing compilation ?
    18922 need_locks=$lt_need_locks
    18923 
    18924 # Do we need the lib prefix for modules?
    18925 need_lib_prefix=$need_lib_prefix
    18926 
    18927 # Do we need a version for libraries?
    18928 need_version=$need_version
    18929 
    18930 # Whether dlopen is supported.
    18931 dlopen_support=$enable_dlopen
    18932 
    18933 # Whether dlopen of programs is supported.
    18934 dlopen_self=$enable_dlopen_self
    18935 
    18936 # Whether dlopen of statically linked programs is supported.
    18937 dlopen_self_static=$enable_dlopen_self_static
    18938 
    18939 # Compiler flag to prevent dynamic linking.
    18940 link_static_flag=$lt_lt_prog_compiler_static_RC
    18941 
    18942 # Compiler flag to turn off builtin functions.
    18943 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
    18944 
    18945 # Compiler flag to allow reflexive dlopens.
    18946 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
    18947 
    18948 # Compiler flag to generate shared objects directly from archives.
    18949 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
    18950 
    18951 # Compiler flag to generate thread-safe objects.
    18952 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
    18953 
    18954 # Library versioning type.
    18955 version_type=$version_type
    18956 
    18957 # Format of library name prefix.
    18958 libname_spec=$lt_libname_spec
    18959 
    18960 # List of archive names.  First name is the real one, the rest are links.
    18961 # The last name is the one that the linker finds with -lNAME.
    18962 library_names_spec=$lt_library_names_spec
    18963 
    18964 # The coded name of the library, if different from the real name.
    18965 soname_spec=$lt_soname_spec
    18966 
    18967 # Commands used to build and install an old-style archive.
    18968 RANLIB=$lt_RANLIB
    18969 old_archive_cmds=$lt_old_archive_cmds_RC
    18970 old_postinstall_cmds=$lt_old_postinstall_cmds
    18971 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    18972 
    18973 # Create an old-style archive from a shared archive.
    18974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
    18975 
    18976 # Create a temporary old-style archive to link instead of a shared archive.
    18977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
    18978 
    18979 # Commands used to build and install a shared archive.
    18980 archive_cmds=$lt_archive_cmds_RC
    18981 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
    18982 postinstall_cmds=$lt_postinstall_cmds
    18983 postuninstall_cmds=$lt_postuninstall_cmds
    18984 
    18985 # Commands used to build a loadable module (assumed same as above if empty)
    18986 module_cmds=$lt_module_cmds_RC
    18987 module_expsym_cmds=$lt_module_expsym_cmds_RC
    18988 
    18989 # Commands to strip libraries.
    18990 old_striplib=$lt_old_striplib
    18991 striplib=$lt_striplib
    18992 
    18993 # Dependencies to place before the objects being linked to create a
    18994 # shared library.
    18995 predep_objects=$lt_predep_objects_RC
    18996 
    18997 # Dependencies to place after the objects being linked to create a
    18998 # shared library.
    18999 postdep_objects=$lt_postdep_objects_RC
    19000 
    19001 # Dependencies to place before the objects being linked to create a
    19002 # shared library.
    19003 predeps=$lt_predeps_RC
    19004 
    19005 # Dependencies to place after the objects being linked to create a
    19006 # shared library.
    19007 postdeps=$lt_postdeps_RC
    19008 
    19009 # The library search path used internally by the compiler when linking
    19010 # a shared library.
    19011 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
    19012 
    19013 # Method to check whether dependent libraries are shared objects.
    19014 deplibs_check_method=$lt_deplibs_check_method
    19015 
    19016 # Command to use when deplibs_check_method == file_magic.
    19017 file_magic_cmd=$lt_file_magic_cmd
    19018 
    19019 # Flag that allows shared libraries with undefined symbols to be built.
    19020 allow_undefined_flag=$lt_allow_undefined_flag_RC
    19021 
    19022 # Flag that forces no undefined symbols.
    19023 no_undefined_flag=$lt_no_undefined_flag_RC
    19024 
    19025 # Commands used to finish a libtool library installation in a directory.
    19026 finish_cmds=$lt_finish_cmds
    19027 
    19028 # Same as above, but a single script fragment to be evaled but not shown.
    19029 finish_eval=$lt_finish_eval
    19030 
    19031 # Take the output of nm and produce a listing of raw symbols and C names.
    19032 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    19033 
    19034 # Transform the output of nm in a proper C declaration
    19035 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    19036 
    19037 # Transform the output of nm in a C name address pair
    19038 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    19039 
    19040 # This is the shared library runtime path variable.
    19041 runpath_var=$runpath_var
    19042 
    19043 # This is the shared library path variable.
    19044 shlibpath_var=$shlibpath_var
    19045 
    19046 # Is shlibpath searched before the hard-coded library search path?
    19047 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    19048 
    19049 # How to hardcode a shared library path into an executable.
    19050 hardcode_action=$hardcode_action_RC
    19051 
    19052 # Whether we should hardcode library paths into libraries.
    19053 hardcode_into_libs=$hardcode_into_libs
    19054 
    19055 # Flag to hardcode \$libdir into a binary during linking.
    19056 # This must work even if \$libdir does not exist.
    19057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
    19058 
    19059 # If ld is used when linking, flag to hardcode \$libdir into
    19060 # a binary during linking. This must work even if \$libdir does
    19061 # not exist.
    19062 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
    19063 
    19064 # Whether we need a single -rpath flag with a separated argument.
    19065 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
    19066 
    19067 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    19068 # resulting binary.
    19069 hardcode_direct=$hardcode_direct_RC
    19070 
    19071 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
    19072 # resulting binary.
    19073 hardcode_minus_L=$hardcode_minus_L_RC
    19074 
    19075 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
    19076 # the resulting binary.
    19077 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
    19078 
    19079 # Set to yes if building a shared library automatically hardcodes DIR into the library
    19080 # and all subsequent libraries and executables linked against it.
    19081 hardcode_automatic=$hardcode_automatic_RC
    19082 
    19083 # Variables whose values should be saved in libtool wrapper scripts and
    19084 # restored at relink time.
    19085 variables_saved_for_relink="$variables_saved_for_relink"
    19086 
    19087 # Whether libtool must link a program against all its dependency libraries.
    19088 link_all_deplibs=$link_all_deplibs_RC
    19089 
    19090 # Compile-time system search path for libraries
    19091 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    19092 
    19093 # Run-time system search path for libraries
    19094 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
    19095 
    19096 # Fix the shell variable \$srcfile for the compiler.
    19097 fix_srcfile_path="$fix_srcfile_path_RC"
    19098 
    19099 # Set to yes if exported symbols are required.
    19100 always_export_symbols=$always_export_symbols_RC
    19101 
    19102 # The commands to list exported symbols.
    19103 export_symbols_cmds=$lt_export_symbols_cmds_RC
    19104 
    19105 # The commands to extract the exported symbol list from a shared archive.
    19106 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    19107 
    19108 # Symbols that should not be listed in the preloaded symbols.
    19109 exclude_expsyms=$lt_exclude_expsyms_RC
    19110 
    19111 # Symbols that must always be exported.
    19112 include_expsyms=$lt_include_expsyms_RC
    19113 
    19114 # ### END LIBTOOL TAG CONFIG: $tagname
    19115 
    19116 __EOF__
    19117 
    19118 
    19119 else
    19120   # If there is no Makefile yet, we rely on a make rule to execute
    19121   # `config.status --recheck' to rerun these tests and create the
    19122   # libtool script then.
    19123   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
    19124   if test -f "$ltmain_in"; then
    19125     test -f Makefile && make "$ltmain"
    19126   fi
    19127 fi
    19128 
    19129 
    19130 ac_ext=c
    19131 ac_cpp='$CPP $CPPFLAGS'
    19132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    19133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    19135 
    19136 CC="$lt_save_CC"
    19137 
    19138         ;;
    19139 
    19140       *)
    19141         { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
    19142 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
    19143    { (exit 1); exit 1; }; }
    19144         ;;
    19145       esac
    19146 
    19147       # Append the new tag name to the list of available tags.
    19148       if test -n "$tagname" ; then
    19149       available_tags="$available_tags $tagname"
    19150     fi
    19151     fi
    19152   done
    19153   IFS="$lt_save_ifs"
    19154 
    19155   # Now substitute the updated list of available tags.
    19156   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
    19157     mv "${ofile}T" "$ofile"
    19158     chmod +x "$ofile"
    19159   else
    19160     rm -f "${ofile}T"
    19161     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
    19162 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
    19163    { (exit 1); exit 1; }; }
    19164   fi
    19165 fi
     7828fi
     7829
     7830
    191667831
    191677832
     
    191747839
    191757840# Prevent multiple expansion
    19176 
    19177 
    19178 
    19179 
    19180 
    19181 
    19182 
    19183 
    19184 
    19185 
    19186 
    19187 
    19188 
    19189 
    19190 
    19191 
    19192 
    19193 
    191947841
    191957842
     
    193377984LIBS="-lsla  $LIBS"
    193387985cat >conftest.$ac_ext <<_ACEOF
     7986#line $LINENO "configure"
    193397987/* confdefs.h.  */
    193407988_ACEOF
     
    193548002rm -f conftest.$ac_objext conftest$ac_exeext
    193558003if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19356   (eval $ac_link) 2>conftest.er1
     8004  (eval $ac_link) 2>&5
    193578005  ac_status=$?
    19358   grep -v '^ *+' conftest.er1 >conftest.err
    19359   rm -f conftest.er1
    19360   cat conftest.err >&5
    193618006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    193628007  (exit $ac_status); } &&
    19363          { ac_try='test -z "$ac_c_werror_flag"
    19364                          || test ! -s conftest.err'
    19365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19366   (eval $ac_try) 2>&5
    19367   ac_status=$?
    19368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19369   (exit $ac_status); }; } &&
    19370          { ac_try='test -s conftest$ac_exeext'
     8008         { ac_try='test -s conftest$ac_exeext'
    193718009  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    193728010  (eval $ac_try) 2>&5
     
    193818019ac_cv_lib_sla_main=no
    193828020fi
    19383 rm -f conftest.err conftest.$ac_objext \
    19384       conftest$ac_exeext conftest.$ac_ext
     8021rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    193858022LIBS=$ac_check_lib_save_LIBS
    193868023fi
     
    194098046LIBS="-lcfitsio  $LIBS"
    194108047cat >conftest.$ac_ext <<_ACEOF
     8048#line $LINENO "configure"
    194118049/* confdefs.h.  */
    194128050_ACEOF
     
    194268064rm -f conftest.$ac_objext conftest$ac_exeext
    194278065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19428   (eval $ac_link) 2>conftest.er1
     8066  (eval $ac_link) 2>&5
    194298067  ac_status=$?
    19430   grep -v '^ *+' conftest.er1 >conftest.err
    19431   rm -f conftest.er1
    19432   cat conftest.err >&5
    194338068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    194348069  (exit $ac_status); } &&
    19435          { ac_try='test -z "$ac_c_werror_flag"
    19436                          || test ! -s conftest.err'
    19437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19438   (eval $ac_try) 2>&5
    19439   ac_status=$?
    19440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19441   (exit $ac_status); }; } &&
    19442          { ac_try='test -s conftest$ac_exeext'
     8070         { ac_try='test -s conftest$ac_exeext'
    194438071  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    194448072  (eval $ac_try) 2>&5
     
    194538081ac_cv_lib_cfitsio_main=no
    194548082fi
    19455 rm -f conftest.err conftest.$ac_objext \
    19456       conftest$ac_exeext conftest.$ac_ext
     8083rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    194578084LIBS=$ac_check_lib_save_LIBS
    194588085fi
     
    194818108LIBS="-lfftw3f  $LIBS"
    194828109cat >conftest.$ac_ext <<_ACEOF
     8110#line $LINENO "configure"
    194838111/* confdefs.h.  */
    194848112_ACEOF
     
    194988126rm -f conftest.$ac_objext conftest$ac_exeext
    194998127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19500   (eval $ac_link) 2>conftest.er1
     8128  (eval $ac_link) 2>&5
    195018129  ac_status=$?
    19502   grep -v '^ *+' conftest.er1 >conftest.err
    19503   rm -f conftest.er1
    19504   cat conftest.err >&5
    195058130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    195068131  (exit $ac_status); } &&
    19507          { ac_try='test -z "$ac_c_werror_flag"
    19508                          || test ! -s conftest.err'
    19509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19510   (eval $ac_try) 2>&5
    19511   ac_status=$?
    19512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19513   (exit $ac_status); }; } &&
    19514          { ac_try='test -s conftest$ac_exeext'
     8132         { ac_try='test -s conftest$ac_exeext'
    195158133  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    195168134  (eval $ac_try) 2>&5
     
    195258143ac_cv_lib_fftw3f_main=no
    195268144fi
    19527 rm -f conftest.err conftest.$ac_objext \
    19528       conftest$ac_exeext conftest.$ac_ext
     8145rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    195298146LIBS=$ac_check_lib_save_LIBS
    195308147fi
     
    195538170LIBS="-lgsl  $LIBS"
    195548171cat >conftest.$ac_ext <<_ACEOF
     8172#line $LINENO "configure"
    195558173/* confdefs.h.  */
    195568174_ACEOF
     
    195708188rm -f conftest.$ac_objext conftest$ac_exeext
    195718189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19572   (eval $ac_link) 2>conftest.er1
     8190  (eval $ac_link) 2>&5
    195738191  ac_status=$?
    19574   grep -v '^ *+' conftest.er1 >conftest.err
    19575   rm -f conftest.er1
    19576   cat conftest.err >&5
    195778192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    195788193  (exit $ac_status); } &&
    19579          { ac_try='test -z "$ac_c_werror_flag"
    19580                          || test ! -s conftest.err'
    19581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19582   (eval $ac_try) 2>&5
    19583   ac_status=$?
    19584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19585   (exit $ac_status); }; } &&
    19586          { ac_try='test -s conftest$ac_exeext'
     8194         { ac_try='test -s conftest$ac_exeext'
    195878195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    195888196  (eval $ac_try) 2>&5
     
    195978205ac_cv_lib_gsl_main=no
    195988206fi
    19599 rm -f conftest.err conftest.$ac_objext \
    19600       conftest$ac_exeext conftest.$ac_ext
     8207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    196018208LIBS=$ac_check_lib_save_LIBS
    196028209fi
     
    196258232LIBS="-lgslcblas  $LIBS"
    196268233cat >conftest.$ac_ext <<_ACEOF
     8234#line $LINENO "configure"
    196278235/* confdefs.h.  */
    196288236_ACEOF
     
    196428250rm -f conftest.$ac_objext conftest$ac_exeext
    196438251if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19644   (eval $ac_link) 2>conftest.er1
     8252  (eval $ac_link) 2>&5
    196458253  ac_status=$?
    19646   grep -v '^ *+' conftest.er1 >conftest.err
    19647   rm -f conftest.er1
    19648   cat conftest.err >&5
    196498254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    196508255  (exit $ac_status); } &&
    19651          { ac_try='test -z "$ac_c_werror_flag"
    19652                          || test ! -s conftest.err'
    19653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19654   (eval $ac_try) 2>&5
    19655   ac_status=$?
    19656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19657   (exit $ac_status); }; } &&
    19658          { ac_try='test -s conftest$ac_exeext'
     8256         { ac_try='test -s conftest$ac_exeext'
    196598257  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    196608258  (eval $ac_try) 2>&5
     
    196698267ac_cv_lib_gslcblas_main=no
    196708268fi
    19671 rm -f conftest.err conftest.$ac_objext \
    19672       conftest$ac_exeext conftest.$ac_ext
     8269rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    196738270LIBS=$ac_check_lib_save_LIBS
    196748271fi
     
    196978294LIBS="-lpslib  $LIBS"
    196988295cat >conftest.$ac_ext <<_ACEOF
     8296#line $LINENO "configure"
    196998297/* confdefs.h.  */
    197008298_ACEOF
     
    197148312rm -f conftest.$ac_objext conftest$ac_exeext
    197158313if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19716   (eval $ac_link) 2>conftest.er1
     8314  (eval $ac_link) 2>&5
    197178315  ac_status=$?
    19718   grep -v '^ *+' conftest.er1 >conftest.err
    19719   rm -f conftest.er1
    19720   cat conftest.err >&5
    197218316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    197228317  (exit $ac_status); } &&
    19723          { ac_try='test -z "$ac_c_werror_flag"
    19724                          || test ! -s conftest.err'
    19725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19726   (eval $ac_try) 2>&5
    19727   ac_status=$?
    19728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19729   (exit $ac_status); }; } &&
    19730          { ac_try='test -s conftest$ac_exeext'
     8318         { ac_try='test -s conftest$ac_exeext'
    197318319  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    197328320  (eval $ac_try) 2>&5
     
    197418329ac_cv_lib_pslib_main=no
    197428330fi
    19743 rm -f conftest.err conftest.$ac_objext \
    19744       conftest$ac_exeext conftest.$ac_ext
     8331rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    197458332LIBS=$ac_check_lib_save_LIBS
    197468333fi
     
    197908377      # substitution turns \\\\ into \\, and sed turns \\ into \).
    197918378      sed -n \
    19792         "s/'/'\\\\''/g;
    19793           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     8379        "s/'/'\\\\''/g;
     8380          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    197948381      ;;
    197958382    *)
    197968383      # `set' quotes correctly as required by POSIX, so do not add quotes.
    197978384      sed -n \
    19798         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     8385        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    197998386      ;;
    198008387    esac;
     
    198268413# (actually we leave an empty line to preserve line numbers).
    198278414if test "x$srcdir" = x.; then
    19828   ac_vpsub='/^[  ]*VPATH[        ]*=/{
     8415  ac_vpsub='/^[         ]*VPATH[        ]*=/{
    198298416s/:*\$(srcdir):*/:/;
    198308417s/:*\${srcdir}:*/:/;
    198318418s/:*@srcdir@:*/:/;
    19832 s/^\([^=]*=[     ]*\):*/\1/;
     8419s/^\([^=]*=[    ]*\):*/\1/;
    198338420s/:*$//;
    19834 s/^[^=]*=[       ]*$//;
     8421s/^[^=]*=[      ]*$//;
    198358422}'
    198368423fi
     
    198438430  # 1. Remove the extension, and $U if already installed.
    198448431  ac_i=`echo "$ac_i" |
    19845         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     8432        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    198468433  # 2. Add them.
    198478434  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    198578444Usually this means the macro was only invoked conditionally." >&5
    198588445echo "$as_me: error: conditional \"AMDEP\" was never defined.
    19859 Usually this means the macro was only invoked conditionally." >&2;}
    19860    { (exit 1); exit 1; }; }
    19861 fi
    19862 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    19863   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
    19864 Usually this means the macro was only invoked conditionally." >&5
    19865 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
    19866 Usually this means the macro was only invoked conditionally." >&2;}
    19867    { (exit 1); exit 1; }; }
    19868 fi
    19869 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
    19870   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
    19871 Usually this means the macro was only invoked conditionally." >&5
    19872 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
    198738446Usually this means the macro was only invoked conditionally." >&2;}
    198748447   { (exit 1); exit 1; }; }
     
    199088481  set -o posix
    199098482fi
    19910 DUALCASE=1; export DUALCASE # for MKS sh
    199118483
    199128484# Support unset when possible.
    19913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     8485if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    199148486  as_unset=unset
    199158487else
     
    199308502  LC_TELEPHONE LC_TIME
    199318503do
    19932   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     8504  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    199338505    eval $as_var=C; export $as_var
    199348506  else
     
    201098681  as_mkdir_p=:
    201108682else
    20111   test -d ./-p && rmdir ./-p
    201128683  as_mkdir_p=false
    201138684fi
     
    201168687
    201178688# Sed expression to map a string onto a valid CPP name.
    20118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     8689as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    201198690
    201208691# Sed expression to map a string onto a valid variable name.
    20121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     8692as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    201228693
    201238694
     
    201468717
    201478718This file was extended by $as_me, which was
    20148 generated by GNU Autoconf 2.59.  Invocation command line was
     8719generated by GNU Autoconf 2.57.  Invocation command line was
    201498720
    201508721  CONFIG_FILES    = $CONFIG_FILES
     
    201908761      --recheck    update $as_me by reconfiguring in the same conditions
    201918762  --file=FILE[:TEMPLATE]
    20192                    instantiate the configuration file FILE
     8763                   instantiate the configuration file FILE
    201938764  --header=FILE[:TEMPLATE]
    20194                    instantiate the configuration header FILE
     8765                   instantiate the configuration header FILE
    201958766
    201968767Configuration files:
     
    202098780ac_cs_version="\\
    202108781config.status
    20211 configured by $0, generated by GNU Autoconf 2.59,
     8782configured by $0, generated by GNU Autoconf 2.57,
    202128783  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    202138784
    20214 Copyright (C) 2003 Free Software Foundation, Inc.
     8785Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     8786Free Software Foundation, Inc.
    202158787This config.status script is free software; the Free Software Foundation
    202168788gives unlimited permission to copy, distribute and modify it."
     
    204118983s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    204128984s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    20413 s,@CYGPATH_W@,$CYGPATH_W,;t t
    204148985s,@PACKAGE@,$PACKAGE,;t t
    204158986s,@VERSION@,$VERSION,;t t
     
    204248995s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    204258996s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
    20426 s,@mkdir_p@,$mkdir_p,;t t
    204278997s,@AWK@,$AWK,;t t
    204288998s,@SET_MAKE@,$SET_MAKE,;t t
    20429 s,@am__leading_dot@,$am__leading_dot,;t t
    204308999s,@CC@,$CC,;t t
    204319000s,@CFLAGS@,$CFLAGS,;t t
     
    204429011s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
    204439012s,@CCDEPMODE@,$CCDEPMODE,;t t
    20444 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
    20445 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    204469013s,@build@,$build,;t t
    204479014s,@build_cpu@,$build_cpu,;t t
     
    204529019s,@host_vendor@,$host_vendor,;t t
    204539020s,@host_os@,$host_os,;t t
    20454 s,@EGREP@,$EGREP,;t t
    204559021s,@LN_S@,$LN_S,;t t
    204569022s,@ECHO@,$ECHO,;t t
    20457 s,@AR@,$AR,;t t
    20458 s,@ac_ct_AR@,$ac_ct_AR,;t t
    204599023s,@RANLIB@,$RANLIB,;t t
    204609024s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    204619025s,@CPP@,$CPP,;t t
    20462 s,@CXX@,$CXX,;t t
    20463 s,@CXXFLAGS@,$CXXFLAGS,;t t
    20464 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    20465 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
    20466 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
    20467 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
    20468 s,@CXXCPP@,$CXXCPP,;t t
    20469 s,@F77@,$F77,;t t
    20470 s,@FFLAGS@,$FFLAGS,;t t
    20471 s,@ac_ct_F77@,$ac_ct_F77,;t t
     9026s,@EGREP@,$EGREP,;t t
    204729027s,@LIBTOOL@,$LIBTOOL,;t t
    204739028s,@GSL_CONFIG@,$GSL_CONFIG,;t t
     
    205039058  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    205049059      if test -z "$ac_sed_cmds"; then
    20505         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     9060        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    205069061      else
    20507         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     9062        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    205089063      fi
    205099064      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    205239078  case $ac_file in
    205249079  - | *:- | *:-:* ) # input from stdin
    20525         cat >$tmp/stdin
    20526         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20527         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     9080        cat >$tmp/stdin
     9081        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     9082        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    205289083  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20529         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     9084        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    205309085  * )   ac_file_in=$ac_file.in ;;
    205319086  esac
     
    205349089  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    205359090$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20536         X"$ac_file" : 'X\(//\)[^/]' \| \
    20537         X"$ac_file" : 'X\(//\)$' \| \
    20538         X"$ac_file" : 'X\(/\)' \| \
    20539         .     : '\(.\)' 2>/dev/null ||
     9091        X"$ac_file" : 'X\(//\)[^/]' \| \
     9092        X"$ac_file" : 'X\(//\)$' \| \
     9093        X"$ac_file" : 'X\(/\)' \| \
     9094        .     : '\(.\)' 2>/dev/null ||
    205409095echo X"$ac_file" |
    205419096    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    205539108      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    205549109$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20555         X"$as_dir" : 'X\(//\)[^/]' \| \
    20556         X"$as_dir" : 'X\(//\)$' \| \
    20557         X"$as_dir" : 'X\(/\)' \| \
    20558         .     : '\(.\)' 2>/dev/null ||
     9110        X"$as_dir" : 'X\(//\)[^/]' \| \
     9111        X"$as_dir" : 'X\(//\)$' \| \
     9112        X"$as_dir" : 'X\(/\)' \| \
     9113        .     : '\(.\)' 2>/dev/null ||
    205599114echo X"$as_dir" |
    205609115    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    205949149    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    205959150esac
    20596 
    20597 # Do not use `cd foo && pwd` to compute absolute paths, because
    20598 # the directories may not exist.
    20599 case `pwd` in
    20600 .) ac_abs_builddir="$ac_dir";;
    20601 *)
    20602   case "$ac_dir" in
    20603   .) ac_abs_builddir=`pwd`;;
    20604   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    20605   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    20606   esac;;
    20607 esac
    20608 case $ac_abs_builddir in
    20609 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    20610 *)
    20611   case ${ac_top_builddir}. in
    20612   .) ac_abs_top_builddir=$ac_abs_builddir;;
    20613   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    20614   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    20615   esac;;
    20616 esac
    20617 case $ac_abs_builddir in
    20618 .) ac_abs_srcdir=$ac_srcdir;;
    20619 *)
    20620   case $ac_srcdir in
    20621   .) ac_abs_srcdir=$ac_abs_builddir;;
    20622   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    20623   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    20624   esac;;
    20625 esac
    20626 case $ac_abs_builddir in
    20627 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    20628 *)
    20629   case $ac_top_srcdir in
    20630   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    20631   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    20632   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    20633   esac;;
    20634 esac
     9151# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     9152# absolute.
     9153ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     9154ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     9155ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     9156ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    206359157
    206369158
     
    206549176  fi
    206559177  configure_input=$configure_input"Generated from `echo $ac_file_in |
    20656                                      sed 's,.*/,,'` by configure."
     9178                                     sed 's,.*/,,'` by configure."
    206579179
    206589180  # First look for the input files in the build tree, otherwise in the
     
    206639185      -) echo $tmp/stdin ;;
    206649186      [\\/$]*)
    20665         # Absolute (can't be DOS-style, as IFS=:)
    20666         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     9187        # Absolute (can't be DOS-style, as IFS=:)
     9188        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    206679189echo "$as_me: error: cannot find input file: $f" >&2;}
    206689190   { (exit 1); exit 1; }; }
    20669          echo "$f";;
     9191         echo $f;;
    206709192      *) # Relative
    20671         if test -f "$f"; then
    20672            # Build tree
    20673            echo "$f"
    20674         elif test -f "$srcdir/$f"; then
    20675            # Source tree
    20676            echo "$srcdir/$f"
    20677         else
    20678            # /dev/null tree
    20679            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     9193        if test -f "$f"; then
     9194           # Build tree
     9195           echo $f
     9196        elif test -f "$srcdir/$f"; then
     9197           # Source tree
     9198           echo $srcdir/$f
     9199        else
     9200           # /dev/null tree
     9201           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    206809202echo "$as_me: error: cannot find input file: $f" >&2;}
    206819203   { (exit 1); exit 1; }; }
    20682         fi;;
     9204        fi;;
    206839205      esac
    206849206    done` || { (exit 1); exit 1; }
     
    207229244#
    207239245# ac_d sets the value in "#define NAME VALUE" lines.
    20724 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
    20725 ac_dB='[         ].*$,\1#\2'
     9246ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
     9247ac_dB='[        ].*$,\1#\2'
    207269248ac_dC=' '
    207279249ac_dD=',;t'
    207289250# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    20729 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     9251ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    207309252ac_uB='$,\1#\2define\3'
    207319253ac_uC=' '
     
    207369258  case $ac_file in
    207379259  - | *:- | *:-:* ) # input from stdin
    20738         cat >$tmp/stdin
    20739         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20740         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     9260        cat >$tmp/stdin
     9261        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     9262        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    207419263  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20742         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     9264        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    207439265  * )   ac_file_in=$ac_file.in ;;
    207449266  esac
     
    207549276      -) echo $tmp/stdin ;;
    207559277      [\\/$]*)
    20756         # Absolute (can't be DOS-style, as IFS=:)
    20757         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     9278        # Absolute (can't be DOS-style, as IFS=:)
     9279        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    207589280echo "$as_me: error: cannot find input file: $f" >&2;}
    207599281   { (exit 1); exit 1; }; }
    20760          # Do quote $f, to prevent DOS paths from being IFS'd.
    20761          echo "$f";;
     9282         echo $f;;
    207629283      *) # Relative
    20763         if test -f "$f"; then
    20764            # Build tree
    20765            echo "$f"
    20766         elif test -f "$srcdir/$f"; then
    20767            # Source tree
    20768            echo "$srcdir/$f"
    20769         else
    20770            # /dev/null tree
    20771            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     9284        if test -f "$f"; then
     9285           # Build tree
     9286           echo $f
     9287        elif test -f "$srcdir/$f"; then
     9288           # Source tree
     9289           echo $srcdir/$f
     9290        else
     9291           # /dev/null tree
     9292           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    207729293echo "$as_me: error: cannot find input file: $f" >&2;}
    207739294   { (exit 1); exit 1; }; }
    20774         fi;;
     9295        fi;;
    207759296      esac
    207769297    done` || { (exit 1); exit 1; }
    207779298  # Remove the trailing spaces.
    20778   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
     9299  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
    207799300
    207809301_ACEOF
     
    207999320t clear
    208009321: clear
    20801 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     9322s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    208029323t end
    20803 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     9324s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    208049325: end
    208059326_ACEOF
     
    208159336# on some systems where configure will not decide to define it.
    208169337cat >>conftest.undefs <<\_ACEOF
    20817 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     9338s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    208189339_ACEOF
    208199340
     
    208219342# of here documents, and old seds have small limits too (100 cmds).
    208229343echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    20823 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     9344echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    208249345echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    208259346echo '  :' >>$CONFIG_STATUS
     
    208309351  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    208319352  # Speed up: don't consider the non `#define' lines.
    20832   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
     9353  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
    208339354  # Work around the forget-to-reset-the-flag bug.
    208349355  echo 't clr' >>$CONFIG_STATUS
     
    208579378  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    208589379  # Speed up: don't consider the non `#undef'
    20859   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     9380  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    208609381  # Work around the forget-to-reset-the-flag bug.
    208619382  echo 't clr' >>$CONFIG_STATUS
     
    208919412      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    208929413$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20893         X"$ac_file" : 'X\(//\)[^/]' \| \
    20894         X"$ac_file" : 'X\(//\)$' \| \
    20895         X"$ac_file" : 'X\(/\)' \| \
    20896         .     : '\(.\)' 2>/dev/null ||
     9414        X"$ac_file" : 'X\(//\)[^/]' \| \
     9415        X"$ac_file" : 'X\(//\)$' \| \
     9416        X"$ac_file" : 'X\(/\)' \| \
     9417        .     : '\(.\)' 2>/dev/null ||
    208979418echo X"$ac_file" |
    208989419    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    209109431      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    209119432$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20912         X"$as_dir" : 'X\(//\)[^/]' \| \
    20913         X"$as_dir" : 'X\(//\)$' \| \
    20914         X"$as_dir" : 'X\(/\)' \| \
    20915         .     : '\(.\)' 2>/dev/null ||
     9433        X"$as_dir" : 'X\(//\)[^/]' \| \
     9434        X"$as_dir" : 'X\(//\)$' \| \
     9435        X"$as_dir" : 'X\(/\)' \| \
     9436        .     : '\(.\)' 2>/dev/null ||
    209169437echo X"$as_dir" |
    209179438    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    209339454    rm -f $tmp/config.h
    209349455  fi
    20935 # Compute $ac_file's index in $config_headers.
    20936 _am_stamp_count=1
    20937 for _am_header in $config_headers :; do
    20938   case $_am_header in
    20939     $ac_file | $ac_file:* )
    20940       break ;;
    20941     * )
    20942       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     9456  # Run the commands associated with the file.
     9457  case $ac_file in
     9458    src/config.h ) # update the timestamp
     9459echo 'timestamp for src/config.h' >"src/stamp-h1"
     9460 ;;
    209439461  esac
    20944 done
    20945 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
    20946 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20947          X$ac_file : 'X\(//\)[^/]' \| \
    20948          X$ac_file : 'X\(//\)$' \| \
    20949          X$ac_file : 'X\(/\)' \| \
    20950          .     : '\(.\)' 2>/dev/null ||
    20951 echo X$ac_file |
    20952     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    20953           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    20954           /^X\(\/\/\)$/{ s//\1/; q; }
    20955           /^X\(\/\).*/{ s//\1/; q; }
    20956           s/.*/./; q'`/stamp-h$_am_stamp_count
    209579462done
    209589463_ACEOF
     
    209679472  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    209689473$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20969         X"$ac_dest" : 'X\(//\)[^/]' \| \
    20970         X"$ac_dest" : 'X\(//\)$' \| \
    20971         X"$ac_dest" : 'X\(/\)' \| \
    20972         .     : '\(.\)' 2>/dev/null ||
     9474        X"$ac_dest" : 'X\(//\)[^/]' \| \
     9475        X"$ac_dest" : 'X\(//\)$' \| \
     9476        X"$ac_dest" : 'X\(/\)' \| \
     9477        .     : '\(.\)' 2>/dev/null ||
    209739478echo X"$ac_dest" |
    209749479    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    209779482          /^X\(\/\).*/{ s//\1/; q; }
    209789483          s/.*/./; q'`
    20979   { if $as_mkdir_p; then
    20980     mkdir -p "$ac_dir"
    20981   else
    20982     as_dir="$ac_dir"
    20983     as_dirs=
    20984     while test ! -d "$as_dir"; do
    20985       as_dirs="$as_dir $as_dirs"
    20986       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    20987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20988          X"$as_dir" : 'X\(//\)[^/]' \| \
    20989          X"$as_dir" : 'X\(//\)$' \| \
    20990          X"$as_dir" : 'X\(/\)' \| \
    20991          .     : '\(.\)' 2>/dev/null ||
    20992 echo X"$as_dir" |
    20993     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    20994           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    20995           /^X\(\/\/\)$/{ s//\1/; q; }
    20996           /^X\(\/\).*/{ s//\1/; q; }
    20997           s/.*/./; q'`
    20998     done
    20999     test ! -n "$as_dirs" || mkdir $as_dirs
    21000   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    21001 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    21002    { (exit 1); exit 1; }; }; }
    21003 
    210049484  ac_builddir=.
    210059485
     
    210279507    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    210289508esac
    21029 
    21030 # Do not use `cd foo && pwd` to compute absolute paths, because
    21031 # the directories may not exist.
    21032 case `pwd` in
    21033 .) ac_abs_builddir="$ac_dir";;
    21034 *)
    21035   case "$ac_dir" in
    21036   .) ac_abs_builddir=`pwd`;;
    21037   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    21038   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    21039   esac;;
    21040 esac
    21041 case $ac_abs_builddir in
    21042 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    21043 *)
    21044   case ${ac_top_builddir}. in
    21045   .) ac_abs_top_builddir=$ac_abs_builddir;;
    21046   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    21047   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    21048   esac;;
    21049 esac
    21050 case $ac_abs_builddir in
    21051 .) ac_abs_srcdir=$ac_srcdir;;
    21052 *)
    21053   case $ac_srcdir in
    21054   .) ac_abs_srcdir=$ac_abs_builddir;;
    21055   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    21056   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    21057   esac;;
    21058 esac
    21059 case $ac_abs_builddir in
    21060 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    21061 *)
    21062   case $ac_top_srcdir in
    21063   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    21064   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    21065   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    21066   esac;;
    21067 esac
     9509# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     9510# absolute.
     9511ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     9512ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     9513ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     9514ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    210689515
    210699516
     
    210839530    dirpart=`(dirname "$mf") 2>/dev/null ||
    210849531$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    21085         X"$mf" : 'X\(//\)[^/]' \| \
    21086         X"$mf" : 'X\(//\)$' \| \
    21087         X"$mf" : 'X\(/\)' \| \
    21088         .     : '\(.\)' 2>/dev/null ||
     9532        X"$mf" : 'X\(//\)[^/]' \| \
     9533        X"$mf" : 'X\(//\)$' \| \
     9534        X"$mf" : 'X\(/\)' \| \
     9535        .     : '\(.\)' 2>/dev/null ||
    210899536echo X"$mf" |
    210909537    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    210999546  # Extract the definition of DEP_FILES from the Makefile without
    211009547  # running `make'.
    21101   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
     9548  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
    211029549  test -z "$DEPDIR" && continue
    211039550  # When using ansi2knr, U may be empty or an underscore; expand it
    21104   U=`sed -n 's/^U = //p' < "$mf"`
     9551  U=`sed -n -e '/^U = / s///p' < "$mf"`
    211059552  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    211069553  # We invoke sed twice because it is the simplest approach to
    211079554  # changing $(DEPDIR) to its actual value in the expansion.
    21108   for file in `sed -n '
     9555  for file in `sed -n -e '
    211099556    /^DEP_FILES = .*\\\\$/ {
    211109557      s/^DEP_FILES = //
     
    211229569    fdir=`(dirname "$file") 2>/dev/null ||
    211239570$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    21124         X"$file" : 'X\(//\)[^/]' \| \
    21125         X"$file" : 'X\(//\)$' \| \
    21126         X"$file" : 'X\(/\)' \| \
    21127         .     : '\(.\)' 2>/dev/null ||
     9571        X"$file" : 'X\(//\)[^/]' \| \
     9572        X"$file" : 'X\(//\)$' \| \
     9573        X"$file" : 'X\(/\)' \| \
     9574        .     : '\(.\)' 2>/dev/null ||
    211289575echo X"$file" |
    211299576    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    211419588      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    211429589$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    21143         X"$as_dir" : 'X\(//\)[^/]' \| \
    21144         X"$as_dir" : 'X\(//\)$' \| \
    21145         X"$as_dir" : 'X\(/\)' \| \
    21146         .     : '\(.\)' 2>/dev/null ||
     9590        X"$as_dir" : 'X\(//\)[^/]' \| \
     9591        X"$as_dir" : 'X\(//\)$' \| \
     9592        X"$as_dir" : 'X\(/\)' \| \
     9593        .     : '\(.\)' 2>/dev/null ||
    211479594echo X"$as_dir" |
    211489595    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Note: See TracChangeset for help on using the changeset viewer.