IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2004, 1:52:09 PM (22 years ago)
Author:
desonia
Message:

general, pre-release cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/configure

    r2132 r2138  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.57.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    6 # Free Software Foundation, Inc.
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    2120  set -o posix
    2221fi
     22DUALCASE=1; export DUALCASE # for MKS sh
    2323
    2424# Support unset when possible.
    25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2626  as_unset=unset
    2727else
     
    4242  LC_TELEPHONE LC_TIME
    4343do
    44   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     44  if (set +x; test -z "`(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
    221222  as_mkdir_p=false
    222223fi
     
    225226
    226227# Sed expression to map a string onto a valid CPP name.
    227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    228229
    229230# Sed expression to map a string onto a valid variable name.
    230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    231232
    232233
     
    240241$as_unset CDPATH
    241242
    242 
    243 # Find the correct PATH separator.  Usually this is `:', but
    244 # DJGPP uses `;' like DOS.
    245 if 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
    252 fi
    253243
    254244
     
    270260  # Avoid inline document here, it may be left over
    271261  :
    272 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
     262elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    273263  # Yippee, $echo works!
    274264  :
     
    282272  shift
    283273  cat <<EOF
    284 
     274$*
    285275EOF
    286276  exit 0
     
    316306  # So, first we look for a working echo in the user's PATH.
    317307
    318   IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     308  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    319309  for dir in $PATH /usr/ucb; do
     310    IFS="$lt_save_ifs"
    320311    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    321312       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
     
    326317    fi
    327318  done
    328   IFS="$save_ifs"
     319  IFS="$lt_save_ifs"
    329320
    330321  if test "X$echo" = Xecho; then
     
    400391
    401392
     393
     394tagnames=${tagnames+${tagnames},}CXX
     395
     396tagnames=${tagnames+${tagnames},}F77
     397
    402398# Name of the host.
    403399# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     
    468464#endif"
    469465
    470 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 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'
     466ac_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'
    471467ac_subst_files=''
    472468
     
    827823# Be sure to have absolute paths.
    828824for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    829               localstatedir libdir includedir oldincludedir infodir mandir
     825              localstatedir libdir includedir oldincludedir infodir mandir
    830826do
    831827  eval ac_val=$`echo $ac_var`
     
    867863  ac_confdir=`(dirname "$0") 2>/dev/null ||
    868864$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    869         X"$0" : 'X\(//\)[^/]' \| \
    870         X"$0" : 'X\(//\)$' \| \
    871         X"$0" : 'X\(/\)' \| \
    872         .     : '\(.\)' 2>/dev/null ||
     865        X"$0" : 'X\(//\)[^/]' \| \
     866        X"$0" : 'X\(//\)$' \| \
     867        X"$0" : 'X\(/\)' \| \
     868        .     : '\(.\)' 2>/dev/null ||
    873869echo X"$0" |
    874870    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    929925ac_cv_env_CPP_set=${CPP+set}
    930926ac_cv_env_CPP_value=$CPP
     927ac_env_CXX_set=${CXX+set}
     928ac_env_CXX_value=$CXX
     929ac_cv_env_CXX_set=${CXX+set}
     930ac_cv_env_CXX_value=$CXX
     931ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     932ac_env_CXXFLAGS_value=$CXXFLAGS
     933ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     934ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     935ac_env_CXXCPP_set=${CXXCPP+set}
     936ac_env_CXXCPP_value=$CXXCPP
     937ac_cv_env_CXXCPP_set=${CXXCPP+set}
     938ac_cv_env_CXXCPP_value=$CXXCPP
     939ac_env_F77_set=${F77+set}
     940ac_env_F77_value=$F77
     941ac_cv_env_F77_set=${F77+set}
     942ac_cv_env_F77_value=$F77
     943ac_env_FFLAGS_set=${FFLAGS+set}
     944ac_env_FFLAGS_value=$FFLAGS
     945ac_cv_env_FFLAGS_set=${FFLAGS+set}
     946ac_cv_env_FFLAGS_value=$FFLAGS
    931947
    932948#
     
    962978Installation directories:
    963979  --prefix=PREFIX         install architecture-independent files in PREFIX
    964                           [$ac_default_prefix]
     980                          [$ac_default_prefix]
    965981  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    966                           [PREFIX]
     982                          [PREFIX]
    967983
    968984By default, \`make install' will install all the files in
     
    10081024  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    10091025  --enable-FEATURE[=ARG]  include FEATURE [ARG=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
     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]
    10151034  --disable-libtool-lock  avoid locking (might break parallel builds)
    10161035
     
    10181037  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    10191038  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    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
     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]
    10221044  --with-psLib=DIR        Specify location of psLib files
    10231045  --with-sla=DIR          Specify location of SLA.
     
    10341056              headers in a nonstandard directory <include dir>
    10351057  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
    10361063
    10371064Use these variables to override the choices made by `configure' or to help
     
    10711098    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    10721099esac
    1073 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    1074 # absolute.
    1075 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    1076 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    1077 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    1078 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     1100
     1101# Do not use `cd foo && pwd` to compute absolute paths, because
     1102# the directories may not exist.
     1103case `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;;
     1111esac
     1112case $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;;
     1120esac
     1121case $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;;
     1129esac
     1130case $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;;
     1138esac
    10791139
    10801140    cd $ac_dir
     
    10871147      $SHELL $ac_srcdir/configure  --help=recursive
    10881148    elif test -f $ac_srcdir/configure.ac ||
    1089            test -f $ac_srcdir/configure.in; then
     1149           test -f $ac_srcdir/configure.in; then
    10901150      echo
    10911151      $ac_configure --help
     
    11011161  cat <<\_ACEOF
    11021162
    1103 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    1104 Free Software Foundation, Inc.
     1163Copyright (C) 2003 Free Software Foundation, Inc.
    11051164This configure script is free software; the Free Software Foundation
    11061165gives unlimited permission to copy, distribute and modify it.
     
    11141173
    11151174It was created by $as_me, which was
    1116 generated by GNU Autoconf 2.57.  Invocation command line was
     1175generated by GNU Autoconf 2.59.  Invocation command line was
    11171176
    11181177  $ $0 $@
     
    11911250      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    11921251      if test $ac_must_keep_next = true; then
    1193         ac_must_keep_next=false # Got value, back to normal.
     1252        ac_must_keep_next=false # Got value, back to normal.
    11941253      else
    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
     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
    12061265      fi
    12071266      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    12371296    *ac_space=\ *)
    12381297      sed -n \
    1239         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1240           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1298        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1299          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    12411300      ;;
    12421301    *)
    12431302      sed -n \
    1244         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1303        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    12451304      ;;
    12461305    esac;
     
    12711330      do
    12721331        eval ac_val=$`echo $ac_var`
    1273         echo "$ac_var='"'"'$ac_val'"'"'"
     1332        echo "$ac_var='"'"'$ac_val'"'"'"
    12741333      done | sort
    12751334      echo
     
    12901349    echo "$as_me: exit $exit_status"
    12911350  } >&5
    1292   rm -f core core.* *.core &&
     1351  rm -f core *.core &&
    12931352  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    12941353    exit $exit_status
     
    13701429ac_cache_corrupted=false
    13711430for ac_var in `(set) 2>&1 |
    1372                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1431               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    13731432  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    13741433  eval ac_new_set=\$ac_env_${ac_var}_set
     
    13871446    *)
    13881447      if test "x$ac_old_val" != "x$ac_new_val"; then
    1389         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1448        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    13901449echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1391         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1450        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    13921451echo "$as_me:   former value:  $ac_old_val" >&2;}
    1393         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1452        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    13941453echo "$as_me:   current value: $ac_new_val" >&2;}
    1395         ac_cache_corrupted=:
     1454        ac_cache_corrupted=:
    13961455      fi;;
    13971456  esac
     
    14421501
    14431502
    1444 # Add the stamp file to the list of files AC keeps track of,
    1445 # along with our hook.
    14461503          ac_config_headers="$ac_config_headers src/config.h"
    14471504
    1448 
    1449 
    1450 am__api_version="1.6"
     1505am__api_version="1.8"
    14511506ac_aux_dir=
    14521507for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     
    14851540# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    14861541# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1542# OS/2's system install, which has a completely different semantic
    14871543# ./install, which can be erroneously created by make from ./install.sh.
    14881544echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    15011557  ./ | .// | /cC/* | \
    15021558  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1559  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    15031560  /usr/ucb/* ) ;;
    15041561  *)
     
    15081565    for ac_prog in ginstall scoinst install; do
    15091566      for ac_exec_ext in '' $ac_executable_extensions; do
    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
     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
    15241581      done
    15251582    done
     
    16091666rm conftest.sed
    16101667
    1611 
    16121668# expand $ac_aux_dir to an absolute path
    16131669am_aux_dir=`cd $ac_aux_dir && pwd`
     
    16211677  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    16221678echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     1679fi
     1680
     1681if 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 -- .'
     1689else
     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
    16231704fi
    16241705
     
    16651746echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    16661747echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1667 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
     1748set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    16681749if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    16691750  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16921773fi
    16931774
    1694  # test to see if srcdir already configured
     1775rm -rf .tst 2>/dev/null
     1776mkdir .tst 2>/dev/null
     1777if test -d .tst; then
     1778  am__leading_dot=.
     1779else
     1780  am__leading_dot=_
     1781fi
     1782rmdir .tst 2>/dev/null
     1783
     1784# test to see if srcdir already configured
    16951785if test "`cd $srcdir && pwd`" != "`pwd`" &&
    16961786   test -f $srcdir/config.status; then
     
    16991789   { (exit 1); exit 1; }; }
    17001790fi
     1791
     1792# test whether we have cygpath
     1793if 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
     1799fi
     1800
    17011801
    17021802# Define the identity of the package.
     
    21712271
    21722272cat >conftest.$ac_ext <<_ACEOF
    2173 #line $LINENO "configure"
    21742273/* confdefs.h.  */
    21752274_ACEOF
     
    21912290# It will help us diagnose broken compilers, and finding out an intuition
    21922291# of exeext.
    2193 echo "$as_me:$LINENO: checking for C compiler default output" >&5
    2194 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
     2292echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2293echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    21952294ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    21962295if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    22122311  case $ac_file in
    22132312    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2214         ;;
     2313        ;;
    22152314    conftest.$ac_ext )
    2216         # This is the source file.
    2217         ;;
     2315        # This is the source file.
     2316        ;;
    22182317    [ab].out )
    2219         # We found the default executable, but exeext='' is most
    2220         # certainly right.
    2221         break;;
     2318        # We found the default executable, but exeext='' is most
     2319        # certainly right.
     2320        break;;
    22222321    *.* )
    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;;
     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;;
    22292328    * )
    2230         break;;
     2329        break;;
    22312330  esac
    22322331done
     
    23022401    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    23032402    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2304           export ac_cv_exeext
    2305           break;;
     2403          export ac_cv_exeext
     2404          break;;
    23062405    * ) break;;
    23072406  esac
     
    23282427else
    23292428  cat >conftest.$ac_ext <<_ACEOF
    2330 #line $LINENO "configure"
    23312429/* confdefs.h.  */
    23322430_ACEOF
     
    23792477else
    23802478  cat >conftest.$ac_ext <<_ACEOF
    2381 #line $LINENO "configure"
    23822479/* confdefs.h.  */
    23832480_ACEOF
     
    23992496rm -f conftest.$ac_objext
    24002497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2401   (eval $ac_compile) 2>&5
     2498  (eval $ac_compile) 2>conftest.er1
     2499  ac_status=$?
     2500  grep -v '^ *+' conftest.er1 >conftest.err
     2501  rm -f conftest.er1
     2502  cat conftest.err >&5
     2503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2504  (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
    24022509  ac_status=$?
    24032510  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2404   (exit $ac_status); } &&
    2405         { ac_try='test -s conftest.$ac_objext'
     2511  (exit $ac_status); }; } &&
     2512        { ac_try='test -s conftest.$ac_objext'
    24062513  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24072514  (eval $ac_try) 2>&5
     
    24162523ac_compiler_gnu=no
    24172524fi
    2418 rm -f conftest.$ac_objext conftest.$ac_ext
     2525rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24192526ac_cv_c_compiler_gnu=$ac_compiler_gnu
    24202527
     
    24322539else
    24332540  cat >conftest.$ac_ext <<_ACEOF
    2434 #line $LINENO "configure"
    24352541/* confdefs.h.  */
    24362542_ACEOF
     
    24492555rm -f conftest.$ac_objext
    24502556if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2451   (eval $ac_compile) 2>&5
     2557  (eval $ac_compile) 2>conftest.er1
     2558  ac_status=$?
     2559  grep -v '^ *+' conftest.er1 >conftest.err
     2560  rm -f conftest.er1
     2561  cat conftest.err >&5
     2562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2563  (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
    24522568  ac_status=$?
    24532569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2454   (exit $ac_status); } &&
    2455         { ac_try='test -s conftest.$ac_objext'
     2570  (exit $ac_status); }; } &&
     2571        { ac_try='test -s conftest.$ac_objext'
    24562572  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24572573  (eval $ac_try) 2>&5
     
    24662582ac_cv_prog_cc_g=no
    24672583fi
    2468 rm -f conftest.$ac_objext conftest.$ac_ext
     2584rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24692585fi
    24702586echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    24932609ac_save_CC=$CC
    24942610cat >conftest.$ac_ext <<_ACEOF
    2495 #line $LINENO "configure"
    24962611/* confdefs.h.  */
    24972612_ACEOF
     
    25212636  return s;
    25222637}
     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.  */
     2646int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2647
    25232648int test (int i, double x);
    25242649struct s1 {int (*f) (int a);};
     
    25472672  rm -f conftest.$ac_objext
    25482673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2549   (eval $ac_compile) 2>&5
     2674  (eval $ac_compile) 2>conftest.er1
     2675  ac_status=$?
     2676  grep -v '^ *+' conftest.er1 >conftest.err
     2677  rm -f conftest.er1
     2678  cat conftest.err >&5
     2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2680  (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
    25502685  ac_status=$?
    25512686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2552   (exit $ac_status); } &&
    2553         { ac_try='test -s conftest.$ac_objext'
     2687  (exit $ac_status); }; } &&
     2688        { ac_try='test -s conftest.$ac_objext'
    25542689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25552690  (eval $ac_try) 2>&5
     
    25642699
    25652700fi
    2566 rm -f conftest.$ac_objext
     2701rm -f conftest.err conftest.$ac_objext
    25672702done
    25682703rm -f conftest.$ac_ext conftest.$ac_objext
     
    25922727rm -f conftest.$ac_objext
    25932728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2594   (eval $ac_compile) 2>&5
     2729  (eval $ac_compile) 2>conftest.er1
     2730  ac_status=$?
     2731  grep -v '^ *+' conftest.er1 >conftest.err
     2732  rm -f conftest.er1
     2733  cat conftest.err >&5
     2734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2735  (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
    25952740  ac_status=$?
    25962741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2597   (exit $ac_status); } &&
    2598         { ac_try='test -s conftest.$ac_objext'
     2742  (exit $ac_status); }; } &&
     2743        { ac_try='test -s conftest.$ac_objext'
    25992744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26002745  (eval $ac_try) 2>&5
     
    26032748  (exit $ac_status); }; }; then
    26042749  for ac_declaration in \
    2605    ''\
    2606    '#include <stdlib.h>' \
     2750   '' \
    26072751   'extern "C" void std::exit (int) throw (); using std::exit;' \
    26082752   'extern "C" void std::exit (int); using std::exit;' \
     
    26122756do
    26132757  cat >conftest.$ac_ext <<_ACEOF
    2614 #line $LINENO "configure"
    26152758/* confdefs.h.  */
    26162759_ACEOF
     
    26182761cat >>conftest.$ac_ext <<_ACEOF
    26192762/* end confdefs.h.  */
     2763$ac_declaration
    26202764#include <stdlib.h>
    2621 $ac_declaration
    26222765int
    26232766main ()
     
    26302773rm -f conftest.$ac_objext
    26312774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2632   (eval $ac_compile) 2>&5
     2775  (eval $ac_compile) 2>conftest.er1
     2776  ac_status=$?
     2777  grep -v '^ *+' conftest.er1 >conftest.err
     2778  rm -f conftest.er1
     2779  cat conftest.err >&5
     2780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2781  (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
    26332786  ac_status=$?
    26342787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2635   (exit $ac_status); } &&
    2636         { ac_try='test -s conftest.$ac_objext'
     2788  (exit $ac_status); }; } &&
     2789        { ac_try='test -s conftest.$ac_objext'
    26372790  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26382791  (eval $ac_try) 2>&5
     
    26472800continue
    26482801fi
    2649 rm -f conftest.$ac_objext conftest.$ac_ext
     2802rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    26502803  cat >conftest.$ac_ext <<_ACEOF
    2651 #line $LINENO "configure"
    26522804/* confdefs.h.  */
    26532805_ACEOF
     
    26662818rm -f conftest.$ac_objext
    26672819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2668   (eval $ac_compile) 2>&5
     2820  (eval $ac_compile) 2>conftest.er1
     2821  ac_status=$?
     2822  grep -v '^ *+' conftest.er1 >conftest.err
     2823  rm -f conftest.er1
     2824  cat conftest.err >&5
     2825  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2826  (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
    26692831  ac_status=$?
    26702832  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2671   (exit $ac_status); } &&
    2672         { ac_try='test -s conftest.$ac_objext'
     2833  (exit $ac_status); }; } &&
     2834        { ac_try='test -s conftest.$ac_objext'
    26732835  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26742836  (eval $ac_try) 2>&5
     
    26822844
    26832845fi
    2684 rm -f conftest.$ac_objext conftest.$ac_ext
     2846rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    26852847done
    26862848rm -f conftest*
     
    26962858
    26972859fi
    2698 rm -f conftest.$ac_objext conftest.$ac_ext
     2860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    26992861ac_ext=c
    27002862ac_cpp='$CPP $CPPFLAGS'
     
    27022864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    27032865ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2704 rm -f .deps 2>/dev/null
    2705 mkdir .deps 2>/dev/null
    2706 if test -d .deps; then
    2707   DEPDIR=.deps
    2708 else
    2709   # MS-DOS does not allow filenames that begin with a dot.
    2710   DEPDIR=_deps
    2711 fi
    2712 rmdir .deps 2>/dev/null
    2713 
     2866DEPDIR="${am__leading_dot}deps"
    27142867
    27152868          ac_config_commands="$ac_config_commands depfiles"
     
    27182871am_make=${MAKE-make}
    27192872cat > confinc << 'END'
    2720 doit:
     2873am__doit:
    27212874        @echo done
     2875.PHONY: am__doit
    27222876END
    27232877# If we don't find an include directive, just comment out the code.
     
    27342888# be invoked under some other name (usually "gmake"), in which
    27352889# case it prints its new name instead of `make'.
    2736 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
     2890if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    27372891   am__include=include
    27382892   am__quote=
     
    27942948  cp "$am_depcomp" conftest.dir
    27952949  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
    27962957
    27972958  am_cv_CC_dependencies_compiler_type=none
     
    28002961  fi
    28012962  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    #
    28022967    # We need to recreate these files for each test, as the compiler may
    28032968    # overwrite some of them when testing with obscure command lines.
    28042969    # This happens at least with the AIX C compiler.
    2805     echo '#include "conftest.h"' > conftest.c
    2806     echo 'int i;' > conftest.h
    2807     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
     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
    28082978
    28092979    case $depmode in
     
    28232993    # handle `-M -o', and we need to detect this.
    28242994    if depmode=$depmode \
    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 &&
     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 &&
    28293001       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    2830       am_cv_CC_dependencies_compiler_type=$depmode
    2831       break
     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
    28323009    fi
    28333010  done
     
    28433020echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    28443021CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     3022
     3023
     3024
     3025if
     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='#'
     3030else
     3031  am__fastdepCC_TRUE='#'
     3032  am__fastdepCC_FALSE=
     3033fi
    28453034
    28463035
     
    28613050# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    28623051# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     3052# OS/2's system install, which has a completely different semantic
    28633053# ./install, which can be erroneously created by make from ./install.sh.
    28643054echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    28773067  ./ | .// | /cC/* | \
    28783068  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     3069  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    28793070  /usr/ucb/* ) ;;
    28803071  *)
     
    28843075    for ac_prog in ginstall scoinst install; do
    28853076      for ac_exec_ext in '' $ac_executable_extensions; do
    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
     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
    29003091      done
    29013092    done
     
    29313122  enableval="$enable_shared"
    29323123  p=${PACKAGE-default}
    2933 case $enableval in
    2934 yes) enable_shared=yes ;;
    2935 no) 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   ;;
    2947 esac
     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
    29483140else
    29493141  enable_shared=yes
    29503142fi;
     3143
    29513144# Check whether --enable-static or --disable-static was given.
    29523145if test "${enable_static+set}" = set; then
    29533146  enableval="$enable_static"
    29543147  p=${PACKAGE-default}
    2955 case $enableval in
    2956 yes) enable_static=yes ;;
    2957 no) 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   ;;
    2969 esac
     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
    29703164else
    29713165  enable_static=yes
    29723166fi;
     3167
    29733168# Check whether --enable-fast-install or --disable-fast-install was given.
    29743169if test "${enable_fast_install+set}" = set; then
    29753170  enableval="$enable_fast_install"
    29763171  p=${PACKAGE-default}
    2977 case $enableval in
    2978 yes) enable_fast_install=yes ;;
    2979 no) 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   ;;
    2991 esac
     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
    29923188else
    29933189  enable_fast_install=yes
    29943190fi;
     3191
    29953192# Make sure we can run config.sub.
    29963193$ac_config_sub sun4 >/dev/null 2>&1 ||
     
    30473244
    30483245
    3049 # Find the correct PATH separator.  Usually this is `:', but
    3050 # DJGPP uses `;' like DOS.
    3051 if 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
    3058 fi
     3246echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
     3247echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
     3248if test "${lt_cv_path_SED+set}" = set; then
     3249  echo $ECHO_N "(cached) $ECHO_C" >&6
     3250else
     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.
     3253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3254for as_dir in $PATH
     3255do
     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
     3265done
     3266lt_ac_max=0
     3267lt_ac_count=0
     3268# Add /usr/xpg4/bin/sed as it is typically found on Solaris
     3269# along with /bin/sed that truncates output.
     3270for 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
     3295done
     3296SED=$lt_cv_path_SED
     3297
     3298fi
     3299
     3300echo "$as_me:$LINENO: result: $SED" >&5
     3301echo "${ECHO_T}$SED" >&6
     3302
     3303echo "$as_me:$LINENO: checking for egrep" >&5
     3304echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3305if test "${ac_cv_prog_egrep+set}" = set; then
     3306  echo $ECHO_N "(cached) $ECHO_C" >&6
     3307else
     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
     3312fi
     3313echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3314echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3315 EGREP=$ac_cv_prog_egrep
     3316
    30593317
    30603318
     
    30693327if test "$GCC" = yes; then
    30703328  # Check if gcc -print-prog-name=ld gives a path.
    3071   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
    3072 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
     3329  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
     3330echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
    30733331  case $host in
    30743332  *-*-mingw*)
     
    30803338  case $ac_prog in
    30813339    # Accept absolute paths.
    3082     [\\/]* | [A-Za-z]:[\\/]*)
     3340    [\\/]* | ?:[\\/]*)
    30833341      re_direlt='/[^/][^/]*/\.\./'
    3084       # Canonicalize the path of ld
    3085       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
     3342      # Canonicalize the pathname of ld
     3343      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    30863344      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    3087         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
     3345        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
    30883346      done
    30893347      test -z "$LD" && LD="$ac_prog"
     
    31093367else
    31103368  if test -z "$LD"; then
    3111   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3369  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    31123370  for ac_dir in $PATH; do
     3371    IFS="$lt_save_ifs"
    31133372    test -z "$ac_dir" && ac_dir=.
    31143373    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     
    31173376      # but apparently some GNU ld's only accept -v.
    31183377      # Break only if it was the GNU/non-GNU ld that we prefer.
    3119       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     3378      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     3379      *GNU* | *'with BFD'*)
    31203380        test "$with_gnu_ld" != no && break
    3121       else
     3381        ;;
     3382      *)
    31223383        test "$with_gnu_ld" != yes && break
    3123       fi
     3384        ;;
     3385      esac
    31243386    fi
    31253387  done
    3126   IFS="$ac_save_ifs"
     3388  IFS="$lt_save_ifs"
    31273389else
    31283390  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     
    31473409else
    31483410  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    3149 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
     3411case `$LD -v 2>&1 </dev/null` in
     3412*GNU* | *'with BFD'*)
    31503413  lt_cv_prog_gnu_ld=yes
    3151 else
     3414  ;;
     3415*)
    31523416  lt_cv_prog_gnu_ld=no
    3153 fi
     3417  ;;
     3418esac
    31543419fi
    31553420echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
     
    31683433echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    31693434reload_flag=$lt_cv_ld_reload_flag
    3170 test -n "$reload_flag" && reload_flag=" $reload_flag"
     3435case $reload_flag in
     3436"" | " "*) ;;
     3437*) reload_flag=" $reload_flag" ;;
     3438esac
     3439reload_cmds='$LD$reload_flag -o $output$reload_objs'
    31713440
    31723441echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
     
    31793448  lt_cv_path_NM="$NM"
    31803449else
    3181   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3450  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    31823451  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
     3452    IFS="$lt_save_ifs"
    31833453    test -z "$ac_dir" && ac_dir=.
    3184     tmp_nm=$ac_dir/${ac_tool_prefix}nm
    3185     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
     3454    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
     3455    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
    31863456      # Check to see if the nm accepts a BSD-compat flag.
    31873457      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    31883458      #   nm: unknown option "B" ignored
    31893459      # Tru64's nm complains that /dev/null is an invalid object file
    3190       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
     3460      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
     3461      */dev/null* | *'Invalid file or object type'*)
    31913462        lt_cv_path_NM="$tmp_nm -B"
    31923463        break
    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
     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
    32003477    fi
    32013478  done
    3202   IFS="$ac_save_ifs"
     3479  IFS="$lt_save_ifs"
    32033480  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    32043481fi
    32053482fi
    3206 
     3483echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
     3484echo "${ECHO_T}$lt_cv_path_NM" >&6
    32073485NM="$lt_cv_path_NM"
    3208 echo "$as_me:$LINENO: result: $NM" >&5
    3209 echo "${ECHO_T}$NM" >&6
    3210 
    3211 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    3212 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
    3213 if test "${lt_cv_path_SED+set}" = set; then
    3214   echo $ECHO_N "(cached) $ECHO_C" >&6
    3215 else
    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.
    3218 as_executable_p="test -f"
    3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3220 for as_dir in $PATH
    3221 do
    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
    3231 done
    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 
    3286 fi
    3287 
    3288 if test "X$SED" != "X"; then
    3289   lt_cv_path_SED=$SED
    3290 else
    3291   SED=$lt_cv_path_SED
    3292 fi
    3293 echo "$as_me:$LINENO: result: $SED" >&5
    3294 echo "${ECHO_T}$SED" >&6
    32953486
    32963487echo "$as_me:$LINENO: checking whether ln -s works" >&5
     
    33203511# 'test_compile' -- check by making test program.
    33213512# 'file_magic [[regex]]' -- check by looking for files in library path
    3322 # which responds to the $file_magic_cmd with a given egrep regex.
     3513# which responds to the $file_magic_cmd with a given extended regex.
    33233514# If you have `file' or equivalent on your system and you're not sure
    33243515# whether `pass_all' will *always* work, you probably want this one.
     
    33393530  ;;
    33403531
    3341 cygwin* | mingw* | pw32*)
     3532cygwin*)
     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
     3538mingw* | 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'.
    33423541  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    33433542  lt_cv_file_magic_cmd='$OBJDUMP -f'
     
    33453544
    33463545darwin* | rhapsody*)
    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
     3546  lt_cv_deplibs_check_method=pass_all
    33573547  ;;
    33583548
    3359 freebsd*)
     3549freebsd* | kfreebsd*-gnu)
    33603550  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    33613551    case $host_cpu in
     
    33773567  ;;
    33783568
    3379 hpux10.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'
     3569hpux10.20* | hpux11*)
    33813570  lt_cv_file_magic_cmd=/usr/bin/file
    3382   lt_cv_file_magic_test_file=/usr/lib/libc.sl
    3383   ;;
    3384 
    3385 irix5* | 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"
     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
    33903579    ;;
    33913580  *)
    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"
     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
    34003583    ;;
    34013584  esac
    3402   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     3585  ;;
     3586
     3587irix5* | 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
    34033594  lt_cv_deplibs_check_method=pass_all
    34043595  ;;
    34053596
    34063597# This must be Linux ELF.
    3407 linux-gnu*)
     3598linux*)
    34083599  case $host_cpu in
    3409   alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*)
     3600  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*)
    34103601    lt_cv_deplibs_check_method=pass_all ;;
    34113602  *)
    34123603    # 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
    34133605    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    34143606  esac
    34153607  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
     3608  lt_cv_deplibs_check_method=pass_all
    34163609  ;;
    34173610
    34183611netbsd*)
    34193612  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    3420     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
     3613    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    34213614  else
    3422     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
     3615    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
    34233616  fi
    34243617  ;;
     
    34283621  lt_cv_file_magic_cmd=/usr/bin/file
    34293622  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     3623  ;;
     3624
     3625nto-qnx*)
     3626  lt_cv_deplibs_check_method=unknown
    34303627  ;;
    34313628
     
    34413638
    34423639osf3* | 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
    34463640  lt_cv_deplibs_check_method=pass_all
    34473641  ;;
     
    34523646
    34533647solaris*)
    3454   lt_cv_deplibs_check_method=pass_all
    3455   lt_cv_file_magic_test_file=/lib/libc.so
    3456   ;;
    3457 
    3458 sysv5uw[78]* | sysv4*uw2*)
    34593648  lt_cv_deplibs_check_method=pass_all
    34603649  ;;
     
    34833672  esac
    34843673  ;;
     3674
     3675sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
     3676  lt_cv_deplibs_check_method=pass_all
     3677  ;;
    34853678esac
    34863679
     
    34903683file_magic_cmd=$lt_cv_file_magic_cmd
    34913684deplibs_check_method=$lt_cv_deplibs_check_method
    3492 
    3493 
    3494 
    3495 
     3685test -z "$deplibs_check_method" && deplibs_check_method=unknown
     3686
     3687
     3688
     3689
     3690# If no C compiler was specified, use CC.
     3691LTCC=${LTCC-"$CC"}
     3692
     3693# Allow CC to be a program name with arguments.
     3694compiler=$CC
     3695
     3696
     3697# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
     3698if test "${enable_libtool_lock+set}" = set; then
     3699  enableval="$enable_libtool_lock"
     3700
     3701fi;
     3702test "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.
     3706case $host in
     3707ia64-*-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
     3763x86_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
     3814echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
     3815if test "${lt_cv_cc_needs_belf+set}" = set; then
     3816  echo $ECHO_N "(cached) $ECHO_C" >&6
     3817else
     3818  ac_ext=c
     3819ac_cpp='$CPP $CPPFLAGS'
     3820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3822ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3823
     3824     cat >conftest.$ac_ext <<_ACEOF
     3825/* confdefs.h.  */
     3826_ACEOF
     3827cat confdefs.h >>conftest.$ac_ext
     3828cat >>conftest.$ac_ext <<_ACEOF
     3829/* end confdefs.h.  */
     3830
     3831int
     3832main ()
     3833{
     3834
     3835  ;
     3836  return 0;
     3837}
     3838_ACEOF
     3839rm -f conftest.$ac_objext conftest$ac_exeext
     3840if { (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
     3862else
     3863  echo "$as_me: failed program was:" >&5
     3864sed 's/^/| /' conftest.$ac_ext >&5
     3865
     3866lt_cv_cc_needs_belf=no
     3867fi
     3868rm -f conftest.err conftest.$ac_objext \
     3869      conftest$ac_exeext conftest.$ac_ext
     3870     ac_ext=c
     3871ac_cpp='$CPP $CPPFLAGS'
     3872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3874ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3875
     3876fi
     3877echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
     3878echo "${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
     3885esac
     3886
     3887need_locks="$enable_libtool_lock"
     3888
     3889
     3890ac_ext=c
     3891ac_cpp='$CPP $CPPFLAGS'
     3892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3894ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3895echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3896echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3897# On Suns, sometimes $CPP names a directory.
     3898if test -n "$CPP" && test -d "$CPP"; then
     3899  CPP=
     3900fi
     3901if test -z "$CPP"; then
     3902  if test "${ac_cv_prog_CPP+set}" = set; then
     3903  echo $ECHO_N "(cached) $ECHO_C" >&6
     3904else
     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
     3909for ac_c_preproc_warn_flag in '' yes
     3910do
     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
     3920cat confdefs.h >>conftest.$ac_ext
     3921cat >>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
     3930if { (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
     3944else
     3945  ac_cpp_err=yes
     3946fi
     3947if test -z "$ac_cpp_err"; then
     3948  :
     3949else
     3950  echo "$as_me: failed program was:" >&5
     3951sed 's/^/| /' conftest.$ac_ext >&5
     3952
     3953  # Broken: fails on valid input.
     3954continue
     3955fi
     3956rm -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
     3963cat confdefs.h >>conftest.$ac_ext
     3964cat >>conftest.$ac_ext <<_ACEOF
     3965/* end confdefs.h.  */
     3966#include <ac_nonexistent.h>
     3967_ACEOF
     3968if { (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
     3982else
     3983  ac_cpp_err=yes
     3984fi
     3985if test -z "$ac_cpp_err"; then
     3986  # Broken: success on invalid input.
     3987continue
     3988else
     3989  echo "$as_me: failed program was:" >&5
     3990sed 's/^/| /' conftest.$ac_ext >&5
     3991
     3992  # Passes both tests.
     3993ac_preproc_ok=:
     3994break
     3995fi
     3996rm -f conftest.err conftest.$ac_ext
     3997
     3998done
     3999# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     4000rm -f conftest.err conftest.$ac_ext
     4001if $ac_preproc_ok; then
     4002  break
     4003fi
     4004
     4005    done
     4006    ac_cv_prog_CPP=$CPP
     4007
     4008fi
     4009  CPP=$ac_cv_prog_CPP
     4010else
     4011  ac_cv_prog_CPP=$CPP
     4012fi
     4013echo "$as_me:$LINENO: result: $CPP" >&5
     4014echo "${ECHO_T}$CPP" >&6
     4015ac_preproc_ok=false
     4016for ac_c_preproc_warn_flag in '' yes
     4017do
     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
     4027cat confdefs.h >>conftest.$ac_ext
     4028cat >>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
     4037if { (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
     4051else
     4052  ac_cpp_err=yes
     4053fi
     4054if test -z "$ac_cpp_err"; then
     4055  :
     4056else
     4057  echo "$as_me: failed program was:" >&5
     4058sed 's/^/| /' conftest.$ac_ext >&5
     4059
     4060  # Broken: fails on valid input.
     4061continue
     4062fi
     4063rm -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
     4070cat confdefs.h >>conftest.$ac_ext
     4071cat >>conftest.$ac_ext <<_ACEOF
     4072/* end confdefs.h.  */
     4073#include <ac_nonexistent.h>
     4074_ACEOF
     4075if { (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
     4089else
     4090  ac_cpp_err=yes
     4091fi
     4092if test -z "$ac_cpp_err"; then
     4093  # Broken: success on invalid input.
     4094continue
     4095else
     4096  echo "$as_me: failed program was:" >&5
     4097sed 's/^/| /' conftest.$ac_ext >&5
     4098
     4099  # Passes both tests.
     4100ac_preproc_ok=:
     4101break
     4102fi
     4103rm -f conftest.err conftest.$ac_ext
     4104
     4105done
     4106# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     4107rm -f conftest.err conftest.$ac_ext
     4108if $ac_preproc_ok; then
     4109  :
     4110else
     4111  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4112See \`config.log' for more details." >&5
     4113echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4114See \`config.log' for more details." >&2;}
     4115   { (exit 1); exit 1; }; }
     4116fi
     4117
     4118ac_ext=c
     4119ac_cpp='$CPP $CPPFLAGS'
     4120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4122ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4123
     4124
     4125echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4126echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4127if test "${ac_cv_header_stdc+set}" = set; then
     4128  echo $ECHO_N "(cached) $ECHO_C" >&6
     4129else
     4130  cat >conftest.$ac_ext <<_ACEOF
     4131/* confdefs.h.  */
     4132_ACEOF
     4133cat confdefs.h >>conftest.$ac_ext
     4134cat >>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
     4141int
     4142main ()
     4143{
     4144
     4145  ;
     4146  return 0;
     4147}
     4148_ACEOF
     4149rm -f conftest.$ac_objext
     4150if { (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
     4172else
     4173  echo "$as_me: failed program was:" >&5
     4174sed 's/^/| /' conftest.$ac_ext >&5
     4175
     4176ac_cv_header_stdc=no
     4177fi
     4178rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4179
     4180if 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
     4185cat confdefs.h >>conftest.$ac_ext
     4186cat >>conftest.$ac_ext <<_ACEOF
     4187/* end confdefs.h.  */
     4188#include <string.h>
     4189
     4190_ACEOF
     4191if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4192  $EGREP "memchr" >/dev/null 2>&1; then
     4193  :
     4194else
     4195  ac_cv_header_stdc=no
     4196fi
     4197rm -f conftest*
     4198
     4199fi
     4200
     4201if 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
     4206cat confdefs.h >>conftest.$ac_ext
     4207cat >>conftest.$ac_ext <<_ACEOF
     4208/* end confdefs.h.  */
     4209#include <stdlib.h>
     4210
     4211_ACEOF
     4212if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4213  $EGREP "free" >/dev/null 2>&1; then
     4214  :
     4215else
     4216  ac_cv_header_stdc=no
     4217fi
     4218rm -f conftest*
     4219
     4220fi
     4221
     4222if 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  :
     4226else
     4227  cat >conftest.$ac_ext <<_ACEOF
     4228/* confdefs.h.  */
     4229_ACEOF
     4230cat confdefs.h >>conftest.$ac_ext
     4231cat >>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)))
     4246int
     4247main ()
     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
     4257rm -f conftest$ac_exeext
     4258if { (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  :
     4269else
     4270  echo "$as_me: program exited with status $ac_status" >&5
     4271echo "$as_me: failed program was:" >&5
     4272sed 's/^/| /' conftest.$ac_ext >&5
     4273
     4274( exit $ac_status )
     4275ac_cv_header_stdc=no
     4276fi
     4277rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4278fi
     4279fi
     4280fi
     4281echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4282echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4283if test $ac_cv_header_stdc = yes; then
     4284
     4285cat >>confdefs.h <<\_ACEOF
     4286#define STDC_HEADERS 1
     4287_ACEOF
     4288
     4289fi
     4290
     4291# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4292
     4293
     4294
     4295
     4296
     4297
     4298
     4299
     4300
     4301for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4302                  inttypes.h stdint.h unistd.h
     4303do
     4304as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4305echo "$as_me:$LINENO: checking for $ac_header" >&5
     4306echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4307if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4308  echo $ECHO_N "(cached) $ECHO_C" >&6
     4309else
     4310  cat >conftest.$ac_ext <<_ACEOF
     4311/* confdefs.h.  */
     4312_ACEOF
     4313cat confdefs.h >>conftest.$ac_ext
     4314cat >>conftest.$ac_ext <<_ACEOF
     4315/* end confdefs.h.  */
     4316$ac_includes_default
     4317
     4318#include <$ac_header>
     4319_ACEOF
     4320rm -f conftest.$ac_objext
     4321if { (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"
     4343else
     4344  echo "$as_me: failed program was:" >&5
     4345sed 's/^/| /' conftest.$ac_ext >&5
     4346
     4347eval "$as_ac_Header=no"
     4348fi
     4349rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4350fi
     4351echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4352echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4353if 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
     4358fi
     4359
     4360done
     4361
     4362
     4363
     4364for ac_header in dlfcn.h
     4365do
     4366as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4367if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4368  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4369echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4370if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4371  echo $ECHO_N "(cached) $ECHO_C" >&6
     4372fi
     4373echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4374echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4375else
     4376  # Is the header compilable?
     4377echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4378echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4379cat >conftest.$ac_ext <<_ACEOF
     4380/* confdefs.h.  */
     4381_ACEOF
     4382cat confdefs.h >>conftest.$ac_ext
     4383cat >>conftest.$ac_ext <<_ACEOF
     4384/* end confdefs.h.  */
     4385$ac_includes_default
     4386#include <$ac_header>
     4387_ACEOF
     4388rm -f conftest.$ac_objext
     4389if { (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
     4411else
     4412  echo "$as_me: failed program was:" >&5
     4413sed 's/^/| /' conftest.$ac_ext >&5
     4414
     4415ac_header_compiler=no
     4416fi
     4417rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4418echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4419echo "${ECHO_T}$ac_header_compiler" >&6
     4420
     4421# Is the header present?
     4422echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4423echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4424cat >conftest.$ac_ext <<_ACEOF
     4425/* confdefs.h.  */
     4426_ACEOF
     4427cat confdefs.h >>conftest.$ac_ext
     4428cat >>conftest.$ac_ext <<_ACEOF
     4429/* end confdefs.h.  */
     4430#include <$ac_header>
     4431_ACEOF
     4432if { (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
     4446else
     4447  ac_cpp_err=yes
     4448fi
     4449if test -z "$ac_cpp_err"; then
     4450  ac_header_preproc=yes
     4451else
     4452  echo "$as_me: failed program was:" >&5
     4453sed 's/^/| /' conftest.$ac_ext >&5
     4454
     4455  ac_header_preproc=no
     4456fi
     4457rm -f conftest.err conftest.$ac_ext
     4458echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4459echo "${ECHO_T}$ac_header_preproc" >&6
     4460
     4461# So?  What about this header?
     4462case $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
     4465echo "$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
     4467echo "$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
     4472echo "$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
     4474echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4475    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4476echo "$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
     4478echo "$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
     4480echo "$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
     4482echo "$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    ;;
     4492esac
     4493echo "$as_me:$LINENO: checking for $ac_header" >&5
     4494echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4495if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4496  echo $ECHO_N "(cached) $ECHO_C" >&6
     4497else
     4498  eval "$as_ac_Header=\$ac_header_preproc"
     4499fi
     4500echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4501echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4502
     4503fi
     4504if 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
     4509fi
     4510
     4511done
     4512
     4513ac_ext=cc
     4514ac_cpp='$CXXCPP $CPPFLAGS'
     4515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4518if 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.
     4522set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4523echo "$as_me:$LINENO: checking for $ac_word" >&5
     4524echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4525if test "${ac_cv_prog_CXX+set}" = set; then
     4526  echo $ECHO_N "(cached) $ECHO_C" >&6
     4527else
     4528  if test -n "$CXX"; then
     4529  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     4530else
     4531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4532for as_dir in $PATH
     4533do
     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
     4542done
     4543done
     4544
     4545fi
     4546fi
     4547CXX=$ac_cv_prog_CXX
     4548if test -n "$CXX"; then
     4549  echo "$as_me:$LINENO: result: $CXX" >&5
     4550echo "${ECHO_T}$CXX" >&6
     4551else
     4552  echo "$as_me:$LINENO: result: no" >&5
     4553echo "${ECHO_T}no" >&6
     4554fi
     4555
     4556    test -n "$CXX" && break
     4557  done
     4558fi
     4559if 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
     4562do
     4563  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4564set dummy $ac_prog; ac_word=$2
     4565echo "$as_me:$LINENO: checking for $ac_word" >&5
     4566echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4567if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     4568  echo $ECHO_N "(cached) $ECHO_C" >&6
     4569else
     4570  if test -n "$ac_ct_CXX"; then
     4571  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     4572else
     4573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4574for as_dir in $PATH
     4575do
     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
     4584done
     4585done
     4586
     4587fi
     4588fi
     4589ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     4590if test -n "$ac_ct_CXX"; then
     4591  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     4592echo "${ECHO_T}$ac_ct_CXX" >&6
     4593else
     4594  echo "$as_me:$LINENO: result: no" >&5
     4595echo "${ECHO_T}no" >&6
     4596fi
     4597
     4598  test -n "$ac_ct_CXX" && break
     4599done
     4600test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     4601
     4602  CXX=$ac_ct_CXX
     4603fi
     4604
     4605
     4606# Provide some information about the compiler.
     4607echo "$as_me:$LINENO:" \
     4608     "checking for C++ compiler version" >&5
     4609ac_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
     4626echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     4627echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     4628if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4629  echo $ECHO_N "(cached) $ECHO_C" >&6
     4630else
     4631  cat >conftest.$ac_ext <<_ACEOF
     4632/* confdefs.h.  */
     4633_ACEOF
     4634cat confdefs.h >>conftest.$ac_ext
     4635cat >>conftest.$ac_ext <<_ACEOF
     4636/* end confdefs.h.  */
     4637
     4638int
     4639main ()
     4640{
     4641#ifndef __GNUC__
     4642       choke me
     4643#endif
     4644
     4645  ;
     4646  return 0;
     4647}
     4648_ACEOF
     4649rm -f conftest.$ac_objext
     4650if { (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
     4672else
     4673  echo "$as_me: failed program was:" >&5
     4674sed 's/^/| /' conftest.$ac_ext >&5
     4675
     4676ac_compiler_gnu=no
     4677fi
     4678rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4679ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     4680
     4681fi
     4682echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4683echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     4684GXX=`test $ac_compiler_gnu = yes && echo yes`
     4685ac_test_CXXFLAGS=${CXXFLAGS+set}
     4686ac_save_CXXFLAGS=$CXXFLAGS
     4687CXXFLAGS="-g"
     4688echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4689echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     4690if test "${ac_cv_prog_cxx_g+set}" = set; then
     4691  echo $ECHO_N "(cached) $ECHO_C" >&6
     4692else
     4693  cat >conftest.$ac_ext <<_ACEOF
     4694/* confdefs.h.  */
     4695_ACEOF
     4696cat confdefs.h >>conftest.$ac_ext
     4697cat >>conftest.$ac_ext <<_ACEOF
     4698/* end confdefs.h.  */
     4699
     4700int
     4701main ()
     4702{
     4703
     4704  ;
     4705  return 0;
     4706}
     4707_ACEOF
     4708rm -f conftest.$ac_objext
     4709if { (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
     4731else
     4732  echo "$as_me: failed program was:" >&5
     4733sed 's/^/| /' conftest.$ac_ext >&5
     4734
     4735ac_cv_prog_cxx_g=no
     4736fi
     4737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4738fi
     4739echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4740echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     4741if test "$ac_test_CXXFLAGS" = set; then
     4742  CXXFLAGS=$ac_save_CXXFLAGS
     4743elif 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
     4749else
     4750  if test "$GXX" = yes; then
     4751    CXXFLAGS="-O2"
     4752  else
     4753    CXXFLAGS=
     4754  fi
     4755fi
     4756for 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);'
     4763do
     4764  cat >conftest.$ac_ext <<_ACEOF
     4765/* confdefs.h.  */
     4766_ACEOF
     4767cat confdefs.h >>conftest.$ac_ext
     4768cat >>conftest.$ac_ext <<_ACEOF
     4769/* end confdefs.h.  */
     4770$ac_declaration
     4771#include <stdlib.h>
     4772int
     4773main ()
     4774{
     4775exit (42);
     4776  ;
     4777  return 0;
     4778}
     4779_ACEOF
     4780rm -f conftest.$ac_objext
     4781if { (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  :
     4803else
     4804  echo "$as_me: failed program was:" >&5
     4805sed 's/^/| /' conftest.$ac_ext >&5
     4806
     4807continue
     4808fi
     4809rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4810  cat >conftest.$ac_ext <<_ACEOF
     4811/* confdefs.h.  */
     4812_ACEOF
     4813cat confdefs.h >>conftest.$ac_ext
     4814cat >>conftest.$ac_ext <<_ACEOF
     4815/* end confdefs.h.  */
     4816$ac_declaration
     4817int
     4818main ()
     4819{
     4820exit (42);
     4821  ;
     4822  return 0;
     4823}
     4824_ACEOF
     4825rm -f conftest.$ac_objext
     4826if { (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
     4848else
     4849  echo "$as_me: failed program was:" >&5
     4850sed 's/^/| /' conftest.$ac_ext >&5
     4851
     4852fi
     4853rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4854done
     4855rm -f conftest*
     4856if test -n "$ac_declaration"; then
     4857  echo '#ifdef __cplusplus' >>confdefs.h
     4858  echo $ac_declaration      >>confdefs.h
     4859  echo '#endif'             >>confdefs.h
     4860fi
     4861
     4862ac_ext=cc
     4863ac_cpp='$CXXCPP $CPPFLAGS'
     4864ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4865ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4866ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4867
     4868depcc="$CXX"  am_compiler_list=
     4869
     4870echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     4871echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     4872if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
     4873  echo $ECHO_N "(cached) $ECHO_C" >&6
     4874else
     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
     4950else
     4951  am_cv_CXX_dependencies_compiler_type=none
     4952fi
     4953
     4954fi
     4955echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
     4956echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
     4957CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
     4958
     4959
     4960
     4961if
     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='#'
     4966else
     4967  am__fastdepCXX_TRUE='#'
     4968  am__fastdepCXX_FALSE=
     4969fi
     4970
     4971
     4972ac_ext=cc
     4973ac_cpp='$CXXCPP $CPPFLAGS'
     4974ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4975ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4976ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4977echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4978echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
     4979if test -z "$CXXCPP"; then
     4980  if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4981  echo $ECHO_N "(cached) $ECHO_C" >&6
     4982else
     4983      # Double quotes because CXXCPP needs to be expanded
     4984    for CXXCPP in "$CXX -E" "/lib/cpp"
     4985    do
     4986      ac_preproc_ok=false
     4987for ac_cxx_preproc_warn_flag in '' yes
     4988do
     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
     4998cat confdefs.h >>conftest.$ac_ext
     4999cat >>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
     5008if { (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
     5022else
     5023  ac_cpp_err=yes
     5024fi
     5025if test -z "$ac_cpp_err"; then
     5026  :
     5027else
     5028  echo "$as_me: failed program was:" >&5
     5029sed 's/^/| /' conftest.$ac_ext >&5
     5030
     5031  # Broken: fails on valid input.
     5032continue
     5033fi
     5034rm -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
     5041cat confdefs.h >>conftest.$ac_ext
     5042cat >>conftest.$ac_ext <<_ACEOF
     5043/* end confdefs.h.  */
     5044#include <ac_nonexistent.h>
     5045_ACEOF
     5046if { (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
     5060else
     5061  ac_cpp_err=yes
     5062fi
     5063if test -z "$ac_cpp_err"; then
     5064  # Broken: success on invalid input.
     5065continue
     5066else
     5067  echo "$as_me: failed program was:" >&5
     5068sed 's/^/| /' conftest.$ac_ext >&5
     5069
     5070  # Passes both tests.
     5071ac_preproc_ok=:
     5072break
     5073fi
     5074rm -f conftest.err conftest.$ac_ext
     5075
     5076done
     5077# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5078rm -f conftest.err conftest.$ac_ext
     5079if $ac_preproc_ok; then
     5080  break
     5081fi
     5082
     5083    done
     5084    ac_cv_prog_CXXCPP=$CXXCPP
     5085
     5086fi
     5087  CXXCPP=$ac_cv_prog_CXXCPP
     5088else
     5089  ac_cv_prog_CXXCPP=$CXXCPP
     5090fi
     5091echo "$as_me:$LINENO: result: $CXXCPP" >&5
     5092echo "${ECHO_T}$CXXCPP" >&6
     5093ac_preproc_ok=false
     5094for ac_cxx_preproc_warn_flag in '' yes
     5095do
     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
     5105cat confdefs.h >>conftest.$ac_ext
     5106cat >>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
     5115if { (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
     5129else
     5130  ac_cpp_err=yes
     5131fi
     5132if test -z "$ac_cpp_err"; then
     5133  :
     5134else
     5135  echo "$as_me: failed program was:" >&5
     5136sed 's/^/| /' conftest.$ac_ext >&5
     5137
     5138  # Broken: fails on valid input.
     5139continue
     5140fi
     5141rm -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
     5148cat confdefs.h >>conftest.$ac_ext
     5149cat >>conftest.$ac_ext <<_ACEOF
     5150/* end confdefs.h.  */
     5151#include <ac_nonexistent.h>
     5152_ACEOF
     5153if { (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
     5167else
     5168  ac_cpp_err=yes
     5169fi
     5170if test -z "$ac_cpp_err"; then
     5171  # Broken: success on invalid input.
     5172continue
     5173else
     5174  echo "$as_me: failed program was:" >&5
     5175sed 's/^/| /' conftest.$ac_ext >&5
     5176
     5177  # Passes both tests.
     5178ac_preproc_ok=:
     5179break
     5180fi
     5181rm -f conftest.err conftest.$ac_ext
     5182
     5183done
     5184# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5185rm -f conftest.err conftest.$ac_ext
     5186if $ac_preproc_ok; then
     5187  :
     5188else
     5189  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     5190See \`config.log' for more details." >&5
     5191echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     5192See \`config.log' for more details." >&2;}
     5193   { (exit 1); exit 1; }; }
     5194fi
     5195
     5196ac_ext=cc
     5197ac_cpp='$CXXCPP $CPPFLAGS'
     5198ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5199ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5200ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     5201
     5202
     5203ac_ext=f
     5204ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     5205ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5206ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     5207if 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.
     5211set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5212echo "$as_me:$LINENO: checking for $ac_word" >&5
     5213echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5214if test "${ac_cv_prog_F77+set}" = set; then
     5215  echo $ECHO_N "(cached) $ECHO_C" >&6
     5216else
     5217  if test -n "$F77"; then
     5218  ac_cv_prog_F77="$F77" # Let the user override the test.
     5219else
     5220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5221for as_dir in $PATH
     5222do
     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
     5231done
     5232done
     5233
     5234fi
     5235fi
     5236F77=$ac_cv_prog_F77
     5237if test -n "$F77"; then
     5238  echo "$as_me:$LINENO: result: $F77" >&5
     5239echo "${ECHO_T}$F77" >&6
     5240else
     5241  echo "$as_me:$LINENO: result: no" >&5
     5242echo "${ECHO_T}no" >&6
     5243fi
     5244
     5245    test -n "$F77" && break
     5246  done
     5247fi
     5248if 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
     5251do
     5252  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5253set dummy $ac_prog; ac_word=$2
     5254echo "$as_me:$LINENO: checking for $ac_word" >&5
     5255echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5256if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     5257  echo $ECHO_N "(cached) $ECHO_C" >&6
     5258else
     5259  if test -n "$ac_ct_F77"; then
     5260  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     5261else
     5262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5263for as_dir in $PATH
     5264do
     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
     5273done
     5274done
     5275
     5276fi
     5277fi
     5278ac_ct_F77=$ac_cv_prog_ac_ct_F77
     5279if test -n "$ac_ct_F77"; then
     5280  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     5281echo "${ECHO_T}$ac_ct_F77" >&6
     5282else
     5283  echo "$as_me:$LINENO: result: no" >&5
     5284echo "${ECHO_T}no" >&6
     5285fi
     5286
     5287  test -n "$ac_ct_F77" && break
     5288done
     5289
     5290  F77=$ac_ct_F77
     5291fi
     5292
     5293
     5294# Provide some information about the compiler.
     5295echo "$as_me:5295:" \
     5296     "checking for Fortran 77 compiler version" >&5
     5297ac_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); }
     5313rm -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.)
     5317ac_save_ext=$ac_ext
     5318ac_ext=F
     5319echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     5320echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
     5321if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     5322  echo $ECHO_N "(cached) $ECHO_C" >&6
     5323else
     5324  cat >conftest.$ac_ext <<_ACEOF
     5325      program main
     5326#ifndef __GNUC__
     5327       choke me
     5328#endif
     5329
     5330      end
     5331_ACEOF
     5332rm -f conftest.$ac_objext
     5333if { (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
     5355else
     5356  echo "$as_me: failed program was:" >&5
     5357sed 's/^/| /' conftest.$ac_ext >&5
     5358
     5359ac_compiler_gnu=no
     5360fi
     5361rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5362ac_cv_f77_compiler_gnu=$ac_compiler_gnu
     5363
     5364fi
     5365echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     5366echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
     5367ac_ext=$ac_save_ext
     5368ac_test_FFLAGS=${FFLAGS+set}
     5369ac_save_FFLAGS=$FFLAGS
     5370FFLAGS=
     5371echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     5372echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
     5373if test "${ac_cv_prog_f77_g+set}" = set; then
     5374  echo $ECHO_N "(cached) $ECHO_C" >&6
     5375else
     5376  FFLAGS=-g
     5377cat >conftest.$ac_ext <<_ACEOF
     5378      program main
     5379
     5380      end
     5381_ACEOF
     5382rm -f conftest.$ac_objext
     5383if { (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
     5405else
     5406  echo "$as_me: failed program was:" >&5
     5407sed 's/^/| /' conftest.$ac_ext >&5
     5408
     5409ac_cv_prog_f77_g=no
     5410fi
     5411rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5412
     5413fi
     5414echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     5415echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
     5416if test "$ac_test_FFLAGS" = set; then
     5417  FFLAGS=$ac_save_FFLAGS
     5418elif 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
     5424else
     5425  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     5426    FFLAGS="-O2"
     5427  else
     5428    FFLAGS=
     5429  fi
     5430fi
     5431
     5432G77=`test $ac_compiler_gnu = yes && echo yes`
     5433ac_ext=c
     5434ac_cpp='$CPP $CPPFLAGS'
     5435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5437ac_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
     5444echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
     5445echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
     5446if test "${lt_cv_sys_max_cmd_len+set}" = set; then
     5447  echo $ECHO_N "(cached) $ECHO_C" >&6
     5448else
     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
     5506fi
     5507
     5508if test -n $lt_cv_sys_max_cmd_len ; then
     5509  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
     5510echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
     5511else
     5512  echo "$as_me:$LINENO: result: none" >&5
     5513echo "${ECHO_T}none" >&6
     5514fi
    34965515
    34975516
     
    34995518
    35005519# Check for command to grab the raw symbol name followed by C symbol from nm.
    3501 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
    3502 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
     5520echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
     5521echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
    35035522if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
    35045523  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35185537
    35195538# Transform an extracted symbol line into a proper C declaration
    3520 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
     5539lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
    35215540
    35225541# Transform an extracted symbol line into symbol name and symbol address
    3523 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'"
     5542lt_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'"
    35245543
    35255544# Define system-specific variables.
     
    35325551  ;;
    35335552hpux*) # Its linker distinguishes data from code symbols
    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'"
     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'"
    35365558  ;;
    35375559irix* | nonstopux*)
     
    35425564  ;;
    35435565solaris* | sysv5*)
    3544   symcode='[BDT]'
     5566  symcode='[BDRT]'
    35455567  ;;
    35465568sysv4)
     
    35515573# Handle CRLF in mingw tool chain
    35525574opt_cr=
    3553 case $host_os in
     5575case $build_os in
    35545576mingw*)
    35555577  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     
    35585580
    35595581# If we're using GNU nm, then use its standard symbol codes.
    3560 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
    3561   symcode='[ABCDGISTW]'
    3562 fi
     5582case `$NM -V 2>&1` in
     5583*GNU* | *'with BFD'*)
     5584  symcode='[ABCDGIRSTW]' ;;
     5585esac
    35635586
    35645587# Try without a prefix undercore, then with it.
     
    35665589
    35675590  # Write the raw and C identifiers.
    3568 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
     5591  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
    35695592
    35705593  # Check to see that the pipe works correctly.
    35715594  pipe_works=no
     5595
    35725596  rm -f conftest*
    35735597  cat > conftest.$ac_ext <<EOF
     
    36035627
    36045628      # Make sure that we snagged all the symbols we need.
    3605       if egrep ' nm_test_var$' "$nlist" >/dev/null; then
    3606         if egrep ' nm_test_func$' "$nlist" >/dev/null; then
     5629      if grep ' nm_test_var$' "$nlist" >/dev/null; then
     5630        if grep ' nm_test_func$' "$nlist" >/dev/null; then
    36075631          cat <<EOF > conftest.$ac_ext
    36085632#ifdef __cplusplus
     
    36125636EOF
    36135637          # Now generate the symbol file.
    3614           eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
     5638          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
    36155639
    36165640          cat <<EOF >> conftest.$ac_ext
    36175641#if defined (__STDC__) && __STDC__
    3618 # define lt_ptr void *
     5642# define lt_ptr_t void *
    36195643#else
    3620 # define lt_ptr char *
     5644# define lt_ptr_t char *
    36215645# define const
    36225646#endif
     
    36255649const struct {
    36265650  const char *name;
    3627   lt_ptr address;
     5651  lt_ptr_t address;
    36285652}
    36295653lt_preloaded_symbols[] =
    36305654{
    36315655EOF
    3632           sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
     5656          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
    36335657          cat <<\EOF >> conftest.$ac_ext
    3634   {0, (lt_ptr) 0}
     5658  {0, (lt_ptr_t) 0}
    36355659};
    36365660
     
    36415665          # Now try linking the two files.
    36425666          mv conftest.$ac_objext conftstm.$ac_objext
    3643           save_LIBS="$LIBS"
    3644           save_CFLAGS="$CFLAGS"
     5667          lt_save_LIBS="$LIBS"
     5668          lt_save_CFLAGS="$CFLAGS"
    36455669          LIBS="conftstm.$ac_objext"
    3646           CFLAGS="$CFLAGS$no_builtin_flag"
     5670          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    36475671          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    36485672  (eval $ac_link) 2>&5
    36495673  ac_status=$?
    36505674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3651   (exit $ac_status); } && test -s conftest$ac_exeext; then
     5675  (exit $ac_status); } && test -s conftest${ac_exeext}; then
    36525676            pipe_works=yes
    36535677          fi
    3654           LIBS="$save_LIBS"
    3655           CFLAGS="$save_CFLAGS"
     5678          LIBS="$lt_save_LIBS"
     5679          CFLAGS="$lt_save_CFLAGS"
    36565680        else
    36575681          echo "cannot find nm_test_func in $nlist" >&5
     
    36795703fi
    36805704
    3681 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
    36825705if test -z "$lt_cv_sys_global_symbol_pipe"; then
    3683   global_symbol_to_cdecl=
    3684   global_symbol_to_c_name_address=
    3685 else
    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"
    3688 fi
    3689 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
    3690 then
     5706  lt_cv_sys_global_symbol_to_cdecl=
     5707fi
     5708if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
    36915709  echo "$as_me:$LINENO: result: failed" >&5
    36925710echo "${ECHO_T}failed" >&6
     
    36965714fi
    36975715
    3698 ac_ext=c
    3699 ac_cpp='$CPP $CPPFLAGS'
    3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3703 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3704 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    3705 # On Suns, sometimes $CPP names a directory.
    3706 if test -n "$CPP" && test -d "$CPP"; then
    3707   CPP=
    3708 fi
    3709 if test -z "$CPP"; then
    3710   if test "${ac_cv_prog_CPP+set}" = set; then
     5716echo "$as_me:$LINENO: checking for objdir" >&5
     5717echo $ECHO_N "checking for objdir... $ECHO_C" >&6
     5718if test "${lt_cv_objdir+set}" = set; then
    37115719  echo $ECHO_N "(cached) $ECHO_C" >&6
    37125720else
    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
    3717 for ac_c_preproc_warn_flag in '' yes
    3718 do
    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
    3729 cat confdefs.h >>conftest.$ac_ext
    3730 cat >>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
    3739 if { (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
    3752 else
    3753   ac_cpp_err=yes
    3754 fi
    3755 if test -z "$ac_cpp_err"; then
    3756   :
    3757 else
    3758   echo "$as_me: failed program was:" >&5
    3759 sed 's/^/| /' conftest.$ac_ext >&5
    3760 
    3761   # Broken: fails on valid input.
    3762 continue
    3763 fi
    3764 rm -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
    3772 cat confdefs.h >>conftest.$ac_ext
    3773 cat >>conftest.$ac_ext <<_ACEOF
    3774 /* end confdefs.h.  */
    3775 #include <ac_nonexistent.h>
    3776 _ACEOF
    3777 if { (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
    3790 else
    3791   ac_cpp_err=yes
    3792 fi
    3793 if test -z "$ac_cpp_err"; then
    3794   # Broken: success on invalid input.
    3795 continue
    3796 else
    3797   echo "$as_me: failed program was:" >&5
    3798 sed 's/^/| /' conftest.$ac_ext >&5
    3799 
    3800   # Passes both tests.
    3801 ac_preproc_ok=:
    3802 break
    3803 fi
    3804 rm -f conftest.err conftest.$ac_ext
    3805 
    3806 done
    3807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3808 rm -f conftest.err conftest.$ac_ext
    3809 if $ac_preproc_ok; then
    3810   break
    3811 fi
    3812 
    3813     done
    3814     ac_cv_prog_CPP=$CPP
    3815 
    3816 fi
    3817   CPP=$ac_cv_prog_CPP
    3818 else
    3819   ac_cv_prog_CPP=$CPP
    3820 fi
    3821 echo "$as_me:$LINENO: result: $CPP" >&5
    3822 echo "${ECHO_T}$CPP" >&6
    3823 ac_preproc_ok=false
    3824 for ac_c_preproc_warn_flag in '' yes
    3825 do
    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
    3836 cat confdefs.h >>conftest.$ac_ext
    3837 cat >>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
    3846 if { (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
    3859 else
    3860   ac_cpp_err=yes
    3861 fi
    3862 if test -z "$ac_cpp_err"; then
    3863   :
    3864 else
    3865   echo "$as_me: failed program was:" >&5
    3866 sed 's/^/| /' conftest.$ac_ext >&5
    3867 
    3868   # Broken: fails on valid input.
    3869 continue
    3870 fi
    3871 rm -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
    3879 cat confdefs.h >>conftest.$ac_ext
    3880 cat >>conftest.$ac_ext <<_ACEOF
    3881 /* end confdefs.h.  */
    3882 #include <ac_nonexistent.h>
    3883 _ACEOF
    3884 if { (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
    3897 else
    3898   ac_cpp_err=yes
    3899 fi
    3900 if test -z "$ac_cpp_err"; then
    3901   # Broken: success on invalid input.
    3902 continue
    3903 else
    3904   echo "$as_me: failed program was:" >&5
    3905 sed 's/^/| /' conftest.$ac_ext >&5
    3906 
    3907   # Passes both tests.
    3908 ac_preproc_ok=:
    3909 break
    3910 fi
    3911 rm -f conftest.err conftest.$ac_ext
    3912 
    3913 done
    3914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3915 rm -f conftest.err conftest.$ac_ext
    3916 if $ac_preproc_ok; then
    3917   :
    3918 else
    3919   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3920 See \`config.log' for more details." >&5
    3921 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3922 See \`config.log' for more details." >&2;}
    3923    { (exit 1); exit 1; }; }
    3924 fi
    3925 
    3926 ac_ext=c
    3927 ac_cpp='$CPP $CPPFLAGS'
    3928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3931 
    3932 
    3933 echo "$as_me:$LINENO: checking for egrep" >&5
    3934 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3935 if test "${ac_cv_prog_egrep+set}" = set; then
    3936   echo $ECHO_N "(cached) $ECHO_C" >&6
    3937 else
    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
    3942 fi
    3943 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3944 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3945  EGREP=$ac_cv_prog_egrep
    3946 
    3947 
    3948 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3949 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    3950 if test "${ac_cv_header_stdc+set}" = set; then
    3951   echo $ECHO_N "(cached) $ECHO_C" >&6
    3952 else
    3953   cat >conftest.$ac_ext <<_ACEOF
    3954 #line $LINENO "configure"
    3955 /* confdefs.h.  */
    3956 _ACEOF
    3957 cat confdefs.h >>conftest.$ac_ext
    3958 cat >>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 
    3965 int
    3966 main ()
    3967 {
    3968 
    3969   ;
    3970   return 0;
    3971 }
    3972 _ACEOF
    3973 rm -f conftest.$ac_objext
    3974 if { (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
    3986 else
    3987   echo "$as_me: failed program was:" >&5
    3988 sed 's/^/| /' conftest.$ac_ext >&5
    3989 
    3990 ac_cv_header_stdc=no
    3991 fi
    3992 rm -f conftest.$ac_objext conftest.$ac_ext
    3993 
    3994 if 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
    4000 cat confdefs.h >>conftest.$ac_ext
    4001 cat >>conftest.$ac_ext <<_ACEOF
    4002 /* end confdefs.h.  */
    4003 #include <string.h>
    4004 
    4005 _ACEOF
    4006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4007   $EGREP "memchr" >/dev/null 2>&1; then
    4008   :
    4009 else
    4010   ac_cv_header_stdc=no
    4011 fi
    4012 rm -f conftest*
    4013 
    4014 fi
    4015 
    4016 if 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
    4022 cat confdefs.h >>conftest.$ac_ext
    4023 cat >>conftest.$ac_ext <<_ACEOF
    4024 /* end confdefs.h.  */
    4025 #include <stdlib.h>
    4026 
    4027 _ACEOF
    4028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4029   $EGREP "free" >/dev/null 2>&1; then
    4030   :
    4031 else
    4032   ac_cv_header_stdc=no
    4033 fi
    4034 rm -f conftest*
    4035 
    4036 fi
    4037 
    4038 if 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   :
    4042 else
    4043   cat >conftest.$ac_ext <<_ACEOF
    4044 #line $LINENO "configure"
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>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)))
    4063 int
    4064 main ()
    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
    4074 rm -f conftest$ac_exeext
    4075 if { (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   :
    4086 else
    4087   echo "$as_me: program exited with status $ac_status" >&5
    4088 echo "$as_me: failed program was:" >&5
    4089 sed 's/^/| /' conftest.$ac_ext >&5
    4090 
    4091 ( exit $ac_status )
    4092 ac_cv_header_stdc=no
    4093 fi
    4094 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4095 fi
    4096 fi
    4097 fi
    4098 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4099 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    4100 if test $ac_cv_header_stdc = yes; then
    4101 
    4102 cat >>confdefs.h <<\_ACEOF
    4103 #define STDC_HEADERS 1
    4104 _ACEOF
    4105 
    4106 fi
    4107 
    4108 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4109 
    4110 
    4111 
    4112 
    4113 
    4114 
    4115 
    4116 
    4117 
    4118 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4119                   inttypes.h stdint.h unistd.h
    4120 do
    4121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4122 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4125   echo $ECHO_N "(cached) $ECHO_C" >&6
    4126 else
    4127   cat >conftest.$ac_ext <<_ACEOF
    4128 #line $LINENO "configure"
    4129 /* confdefs.h.  */
    4130 _ACEOF
    4131 cat confdefs.h >>conftest.$ac_ext
    4132 cat >>conftest.$ac_ext <<_ACEOF
    4133 /* end confdefs.h.  */
    4134 $ac_includes_default
    4135 
    4136 #include <$ac_header>
    4137 _ACEOF
    4138 rm -f conftest.$ac_objext
    4139 if { (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"
    4151 else
    4152   echo "$as_me: failed program was:" >&5
    4153 sed 's/^/| /' conftest.$ac_ext >&5
    4154 
    4155 eval "$as_ac_Header=no"
    4156 fi
    4157 rm -f conftest.$ac_objext conftest.$ac_ext
    4158 fi
    4159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4161 if 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 
    4166 fi
    4167 
    4168 done
    4169 
    4170 
    4171 
    4172 for ac_header in dlfcn.h
    4173 do
    4174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4176   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4179   echo $ECHO_N "(cached) $ECHO_C" >&6
    4180 fi
    4181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4183 else
    4184   # Is the header compilable?
    4185 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4186 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4187 cat >conftest.$ac_ext <<_ACEOF
    4188 #line $LINENO "configure"
    4189 /* confdefs.h.  */
    4190 _ACEOF
    4191 cat confdefs.h >>conftest.$ac_ext
    4192 cat >>conftest.$ac_ext <<_ACEOF
    4193 /* end confdefs.h.  */
    4194 $ac_includes_default
    4195 #include <$ac_header>
    4196 _ACEOF
    4197 rm -f conftest.$ac_objext
    4198 if { (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
    4210 else
    4211   echo "$as_me: failed program was:" >&5
    4212 sed 's/^/| /' conftest.$ac_ext >&5
    4213 
    4214 ac_header_compiler=no
    4215 fi
    4216 rm -f conftest.$ac_objext conftest.$ac_ext
    4217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4218 echo "${ECHO_T}$ac_header_compiler" >&6
    4219 
    4220 # Is the header present?
    4221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4223 cat >conftest.$ac_ext <<_ACEOF
    4224 #line $LINENO "configure"
    4225 /* confdefs.h.  */
    4226 _ACEOF
    4227 cat confdefs.h >>conftest.$ac_ext
    4228 cat >>conftest.$ac_ext <<_ACEOF
    4229 /* end confdefs.h.  */
    4230 #include <$ac_header>
    4231 _ACEOF
    4232 if { (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
    4245 else
    4246   ac_cpp_err=yes
    4247 fi
    4248 if test -z "$ac_cpp_err"; then
    4249   ac_header_preproc=yes
    4250 else
    4251   echo "$as_me: failed program was:" >&5
    4252 sed 's/^/| /' conftest.$ac_ext >&5
    4253 
    4254   ac_header_preproc=no
    4255 fi
    4256 rm -f conftest.err conftest.$ac_ext
    4257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4258 echo "${ECHO_T}$ac_header_preproc" >&6
    4259 
    4260 # So?  What about this header?
    4261 case $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
    4264 echo "$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
    4266 echo "$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
    4278 echo "$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
    4280 echo "$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
    4282 echo "$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     ;;
    4292 esac
    4293 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4296   echo $ECHO_N "(cached) $ECHO_C" >&6
    4297 else
    4298   eval "$as_ac_Header=$ac_header_preproc"
    4299 fi
    4300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4302 
    4303 fi
    4304 if 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 
    4309 fi
    4310 
    4311 done
    4312 
    4313 
    4314 
    4315 
    4316 
    4317 
    4318 # Only perform the check for file, if the check method requires it
    4319 case $deplibs_check_method in
    4320 file_magic*)
    4321   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    4322     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
    4323 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
    4324 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    4325   echo $ECHO_N "(cached) $ECHO_C" >&6
    4326 else
    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 
    4362 EOF
    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   ;;
    4372 esac
    4373 fi
    4374 
    4375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    4376 if test -n "$MAGIC_CMD"; then
    4377   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    4378 echo "${ECHO_T}$MAGIC_CMD" >&6
    4379 else
    4380   echo "$as_me:$LINENO: result: no" >&5
    4381 echo "${ECHO_T}no" >&6
    4382 fi
    4383 
    4384 if 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
    4387 echo $ECHO_N "checking for file... $ECHO_C" >&6
    4388 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
    4389   echo $ECHO_N "(cached) $ECHO_C" >&6
    4390 else
    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 
    4426 EOF
    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   ;;
    4436 esac
    4437 fi
    4438 
    4439 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    4440 if test -n "$MAGIC_CMD"; then
    4441   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
    4442 echo "${ECHO_T}$MAGIC_CMD" >&6
    4443 else
    4444   echo "$as_me:$LINENO: result: no" >&5
    4445 echo "${ECHO_T}no" >&6
    4446 fi
    4447 
    4448   else
    4449     MAGIC_CMD=:
    4450   fi
    4451 fi
    4452 
     5721  rm -f .libs 2>/dev/null
     5722mkdir .libs 2>/dev/null
     5723if test -d .libs; then
     5724  lt_cv_objdir=.libs
     5725else
     5726  # MS-DOS does not allow filenames that begin with a dot.
     5727  lt_cv_objdir=_libs
     5728fi
     5729rmdir .libs 2>/dev/null
     5730fi
     5731echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
     5732echo "${ECHO_T}$lt_cv_objdir" >&6
     5733objdir=$lt_cv_objdir
     5734
     5735
     5736
     5737
     5738
     5739case $host_os in
     5740aix3*)
     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
    44535747  fi
    44545748  ;;
    44555749esac
     5750
     5751# Sed substitution that helps us do robust quoting.  It backslashifies
     5752# metacharacters that are still active within double-quoted strings.
     5753Xsed='sed -e s/^X//'
     5754sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
     5755
     5756# Same as above, but do not quote variable references.
     5757double_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.
     5761delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5762
     5763# Sed substitution to avoid accidental globbing in evaled expressions
     5764no_glob_subst='s/\*/\\\*/g'
     5765
     5766# Constants:
     5767rm="rm -f"
     5768
     5769# Global variables:
     5770default_ofile=libtool
     5771can_build_shared=yes
     5772
     5773# All known linkers require a `.a' archive for static linking (except M$VC,
     5774# which needs '.lib').
     5775libext=a
     5776ltmain="$ac_aux_dir/ltmain.sh"
     5777ofile="$default_ofile"
     5778with_gnu_ld="$lt_cv_prog_gnu_ld"
     5779
     5780if 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.
     5782set dummy ${ac_tool_prefix}ar; ac_word=$2
     5783echo "$as_me:$LINENO: checking for $ac_word" >&5
     5784echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5785if test "${ac_cv_prog_AR+set}" = set; then
     5786  echo $ECHO_N "(cached) $ECHO_C" >&6
     5787else
     5788  if test -n "$AR"; then
     5789  ac_cv_prog_AR="$AR" # Let the user override the test.
     5790else
     5791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5792for as_dir in $PATH
     5793do
     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
     5802done
     5803done
     5804
     5805fi
     5806fi
     5807AR=$ac_cv_prog_AR
     5808if test -n "$AR"; then
     5809  echo "$as_me:$LINENO: result: $AR" >&5
     5810echo "${ECHO_T}$AR" >&6
     5811else
     5812  echo "$as_me:$LINENO: result: no" >&5
     5813echo "${ECHO_T}no" >&6
     5814fi
     5815
     5816fi
     5817if 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.
     5820set dummy ar; ac_word=$2
     5821echo "$as_me:$LINENO: checking for $ac_word" >&5
     5822echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5823if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
     5824  echo $ECHO_N "(cached) $ECHO_C" >&6
     5825else
     5826  if test -n "$ac_ct_AR"; then
     5827  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     5828else
     5829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5830for as_dir in $PATH
     5831do
     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
     5840done
     5841done
     5842
     5843  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
     5844fi
     5845fi
     5846ac_ct_AR=$ac_cv_prog_ac_ct_AR
     5847if test -n "$ac_ct_AR"; then
     5848  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
     5849echo "${ECHO_T}$ac_ct_AR" >&6
     5850else
     5851  echo "$as_me:$LINENO: result: no" >&5
     5852echo "${ECHO_T}no" >&6
     5853fi
     5854
     5855  AR=$ac_ct_AR
     5856else
     5857  AR="$ac_cv_prog_AR"
     5858fi
    44565859
    44575860if test -n "$ac_tool_prefix"; then
     
    46166019
    46176020
    4618 enable_dlopen=no
    4619 enable_win32_dll=no
    4620 
    4621 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    4622 if test "${enable_libtool_lock+set}" = set; then
    4623   enableval="$enable_libtool_lock"
    4624 
    4625 fi;
    4626 test "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.
    4630 case $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
    4659 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    4660 if test "${lt_cv_cc_needs_belf+set}" = set; then
    4661   echo $ECHO_N "(cached) $ECHO_C" >&6
    4662 else
    4663 
    4664 
    4665      ac_ext=c
    4666 ac_cpp='$CPP $CPPFLAGS'
    4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4670 
    4671      cat >conftest.$ac_ext <<_ACEOF
    4672 #line $LINENO "configure"
    4673 /* confdefs.h.  */
    4674 _ACEOF
    4675 cat confdefs.h >>conftest.$ac_ext
    4676 cat >>conftest.$ac_ext <<_ACEOF
    4677 /* end confdefs.h.  */
    4678 
    4679 int
    4680 main ()
    4681 {
    4682 
    4683   ;
    4684   return 0;
    4685 }
    4686 _ACEOF
    4687 rm -f conftest.$ac_objext conftest$ac_exeext
    4688 if { (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
    4700 else
    4701   echo "$as_me: failed program was:" >&5
    4702 sed 's/^/| /' conftest.$ac_ext >&5
    4703 
    4704 lt_cv_cc_needs_belf=no
    4705 fi
    4706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4707      ac_ext=c
    4708 ac_cpp='$CPP $CPPFLAGS'
    4709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4712 
    4713 fi
    4714 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    4715 echo "${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 
    4723 esac
    4724 
    4725 # Sed substitution that helps us do robust quoting.  It backslashifies
    4726 # metacharacters that are still active within double-quoted strings.
    4727 Xsed='sed -e s/^X//'
    4728 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
    4729 
    4730 # Same as above, but do not quote variable references.
    4731 double_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.
    4735 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    4736 
    4737 # Constants:
    4738 rm="rm -f"
    4739 
    4740 # Global variables:
    4741 default_ofile=libtool
    4742 can_build_shared=yes
    4743 
    4744 # All known linkers require a `.a' archive for static linking (except M$VC,
    4745 # which needs '.lib').
    4746 libext=a
    4747 ltmain="$ac_aux_dir/ltmain.sh"
    4748 ofile="$default_ofile"
    4749 with_gnu_ld="$lt_cv_prog_gnu_ld"
    4750 need_locks="$enable_libtool_lock"
    4751 
    47526021old_CC="$CC"
    47536022old_CFLAGS="$CFLAGS"
     
    47586027test -z "$AS" && AS=as
    47596028test -z "$CC" && CC=cc
     6029test -z "$LTCC" && LTCC=$CC
    47606030test -z "$DLLTOOL" && DLLTOOL=dlltool
    47616031test -z "$LD" && LD=ld
     
    47636033test -z "$MAGIC_CMD" && MAGIC_CMD=file
    47646034test -z "$NM" && NM=nm
     6035test -z "$SED" && SED=sed
    47656036test -z "$OBJDUMP" && OBJDUMP=objdump
    47666037test -z "$RANLIB" && RANLIB=:
    47676038test -z "$STRIP" && STRIP=:
    47686039test -z "$ac_objext" && ac_objext=o
    4769 
    4770 if test x"$host" != x"$build"; then
    4771   ac_tool_prefix=${host_alias}-
    4772 else
    4773   ac_tool_prefix=
    4774 fi
    4775 
    4776 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    4777 case $host_os in
    4778 linux-gnu*) ;;
    4779 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    4780 esac
    4781 
    4782 case $host_os in
    4783 aix3*)
    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   ;;
    4792 esac
    47936040
    47946041# Determine commands to create old-style static archives.
     
    48096056fi
    48106057
    4811 # Allow CC to be a program name with arguments.
    4812 set dummy $CC
    4813 compiler="$2"
    4814 
    4815 echo "$as_me:$LINENO: checking for objdir" >&5
    4816 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
    4817 rm -f .libs 2>/dev/null
    4818 mkdir .libs 2>/dev/null
    4819 if test -d .libs; then
    4820   objdir=.libs
    4821 else
    4822   # MS-DOS does not allow filenames that begin with a dot.
    4823   objdir=_libs
    4824 fi
    4825 rmdir .libs 2>/dev/null
    4826 echo "$as_me:$LINENO: result: $objdir" >&5
    4827 echo "${ECHO_T}$objdir" >&6
    4828 
     6058# Only perform the check for file, if the check method requires it
     6059case $deplibs_check_method in
     6060file_magic*)
     6061  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     6062    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
     6063echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
     6064if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     6065  echo $ECHO_N "(cached) $ECHO_C" >&6
     6066else
     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
     6100EOF
     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  ;;
     6110esac
     6111fi
     6112
     6113MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     6114if test -n "$MAGIC_CMD"; then
     6115  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     6116echo "${ECHO_T}$MAGIC_CMD" >&6
     6117else
     6118  echo "$as_me:$LINENO: result: no" >&5
     6119echo "${ECHO_T}no" >&6
     6120fi
     6121
     6122if 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
     6125echo $ECHO_N "checking for file... $ECHO_C" >&6
     6126if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     6127  echo $ECHO_N "(cached) $ECHO_C" >&6
     6128else
     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
     6162EOF
     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  ;;
     6172esac
     6173fi
     6174
     6175MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     6176if test -n "$MAGIC_CMD"; then
     6177  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     6178echo "${ECHO_T}$MAGIC_CMD" >&6
     6179else
     6180  echo "$as_me:$LINENO: result: no" >&5
     6181echo "${ECHO_T}no" >&6
     6182fi
     6183
     6184  else
     6185    MAGIC_CMD=:
     6186  fi
     6187fi
     6188
     6189  fi
     6190  ;;
     6191esac
     6192
     6193enable_dlopen=no
     6194enable_win32_dll=no
     6195
     6196# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
     6197if test "${enable_libtool_lock+set}" = set; then
     6198  enableval="$enable_libtool_lock"
     6199
     6200fi;
     6201test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    48296202
    48306203
     
    48386211test -z "$pic_mode" && pic_mode=default
    48396212
    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.
     6213# Use C for the default configuration in the libtool script
     6214tagname=
     6215lt_save_CC="$CC"
     6216ac_ext=c
     6217ac_cpp='$CPP $CPPFLAGS'
     6218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6220ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6221
     6222
     6223# Source file extension for C test sources.
     6224ac_ext=c
     6225
     6226# Object file extension for compiled C test sources.
     6227objext=o
     6228objext=$objext
     6229
     6230# Code to be used in simple compile tests
     6231lt_simple_compile_test_code="int some_variable = 0;\n"
     6232
     6233# Code to be used in simple link tests
     6234lt_simple_link_test_code='int main(){return(0);}\n'
     6235
     6236
     6237# If no C compiler was specified, use CC.
     6238LTCC=${LTCC-"$CC"}
     6239
     6240# Allow CC to be a program name with arguments.
     6241compiler=$CC
     6242
     6243
     6244#
     6245# Check for any special shared library compilation flags.
     6246#
     6247lt_prog_cc_shlib=
     6248if test "$GCC" = no; then
     6249  case $host_os in
     6250  sco3.2v5*)
     6251    lt_prog_cc_shlib='-belf'
     6252    ;;
     6253  esac
     6254fi
     6255if test -n "$lt_prog_cc_shlib"; then
     6256  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
     6257echo "$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
     6261echo "$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
     6264fi
     6265
     6266
     6267#
     6268# Check to make sure the static flag actually works.
     6269#
     6270echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
     6271echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
     6272if test "${lt_prog_compiler_static_works+set}" = set; then
     6273  echo $ECHO_N "(cached) $ECHO_C" >&6
     6274else
     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
     6292fi
     6293echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
     6294echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
     6295
     6296if test x"$lt_prog_compiler_static_works" = xyes; then
     6297    :
     6298else
     6299    lt_prog_compiler_static=
     6300fi
     6301
     6302
     6303
     6304
     6305lt_prog_compiler_no_builtin_flag=
     6306
     6307if test "$GCC" = yes; then
     6308  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
     6309
     6310
     6311echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     6312echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
     6313if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
     6314  echo $ECHO_N "(cached) $ECHO_C" >&6
     6315else
     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
     6343fi
     6344echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     6345echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
     6346
     6347if 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"
     6349else
     6350    :
     6351fi
     6352
     6353fi
     6354
     6355lt_prog_compiler_wl=
     6356lt_prog_compiler_pic=
     6357lt_prog_compiler_static=
     6358
    48436359echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
    48446360echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
    4845 if test "${lt_cv_prog_cc_pic+set}" = set; then
    4846   echo $ECHO_N "(cached) $ECHO_C" >&6
    4847 else
    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
    48546361
    48556362  if test "$GCC" = yes; then
    4856     lt_cv_prog_cc_wl='-Wl,'
    4857     lt_cv_prog_cc_static='-static'
     6363    lt_prog_compiler_wl='-Wl,'
     6364    lt_prog_compiler_static='-static'
    48586365
    48596366    case $host_os in
    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"
    4868       ;;
     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
     6373      ;;
     6374
    48696375    amigaos*)
    48706376      # FIXME: we need at least 68020 code to build shared libraries, but
    48716377      # adding the `-m68020' flag to GCC prevents building anything better,
    48726378      # like `-m68040'.
    4873       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
    4874       ;;
    4875     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     6379      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     6380      ;;
     6381
     6382    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    48766383      # PIC is the default for these OSes.
    48776384      ;;
     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
    48786392    darwin* | rhapsody*)
    48796393      # PIC is the default on this platform
    48806394      # Common symbols not allowed in MH_DYLIB files
    4881       lt_cv_prog_cc_pic='-fno-common'
    4882       ;;
    4883     cygwin* | mingw* | pw32* | os2*)
     6395      lt_prog_compiler_pic='-fno-common'
     6396      ;;
     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
     6403      ;;
     6404
     6405    sysv4*MP*)
     6406      if test -d /usr/nec; then
     6407        lt_prog_compiler_pic=-Kconform_pic
     6408      fi
     6409      ;;
     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
     6424    *)
     6425      lt_prog_compiler_pic='-fPIC'
     6426      ;;
     6427    esac
     6428  else
     6429    # PORTME Check for flag to pass linker flags through the system compiler.
     6430    case $host_os in
     6431    aix*)
     6432      lt_prog_compiler_wl='-Wl,'
     6433      if test "$host_cpu" = ia64; then
     6434        # AIX 5 now supports IA64 processor
     6435        lt_prog_compiler_static='-Bstatic'
     6436      else
     6437        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     6438      fi
     6439      ;;
     6440
     6441    mingw* | pw32* | os2*)
    48846442      # This hack is so that the source file can tell whether it is being
    48856443      # built for inclusion in a dll (and should export symbols for example).
    4886       lt_cv_prog_cc_pic='-DDLL_EXPORT'
    4887       ;;
    4888     sysv4*MP*)
    4889       if test -d /usr/nec; then
    4890          lt_cv_prog_cc_pic=-Kconform_pic
    4891       fi
    4892       ;;
    4893     *)
    4894       lt_cv_prog_cc_pic='-fPIC'
    4895       ;;
    4896     esac
    4897   else
    4898     # PORTME Check for PIC flags for the system compiler.
    4899     case $host_os in
    4900     aix3* | aix4* | aix5*)
    4901       lt_cv_prog_cc_wl='-Wl,'
    4902       # All AIX code is PIC.
    4903       if test "$host_cpu" = ia64; then
    4904         # AIX 5 now supports IA64 processor
    4905         lt_cv_prog_cc_static='-Bstatic'
    4906       else
    4907         lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
    4908       fi
     6444      lt_prog_compiler_pic='-DDLL_EXPORT'
    49096445      ;;
    49106446
    49116447    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'
     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'
    49166461      ;;
    49176462
    49186463    irix5* | irix6* | nonstopux*)
    4919       lt_cv_prog_cc_wl='-Wl,'
    4920       lt_cv_prog_cc_static='-non_shared'
     6464      lt_prog_compiler_wl='-Wl,'
    49216465      # PIC (with -KPIC) is the default.
    4922       ;;
    4923 
    4924     cygwin* | mingw* | pw32* | os2*)
    4925       # This hack is so that the source file can tell whether it is being
    4926       # built for inclusion in a dll (and should export symbols for example).
    4927       lt_cv_prog_cc_pic='-DDLL_EXPORT'
     6466      lt_prog_compiler_static='-non_shared'
    49286467      ;;
    49296468
    49306469    newsos6)
    4931       lt_cv_prog_cc_pic='-KPIC'
    4932       lt_cv_prog_cc_static='-Bstatic'
     6470      lt_prog_compiler_pic='-KPIC'
     6471      lt_prog_compiler_static='-Bstatic'
     6472      ;;
     6473
     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
    49336487      ;;
    49346488
    49356489    osf3* | osf4* | osf5*)
     6490      lt_prog_compiler_wl='-Wl,'
    49366491      # All OSF/1 code is PIC.
    4937       lt_cv_prog_cc_wl='-Wl,'
    4938       lt_cv_prog_cc_static='-non_shared'
     6492      lt_prog_compiler_static='-non_shared'
    49396493      ;;
    49406494
    49416495    sco3.2v5*)
    4942       lt_cv_prog_cc_pic='-Kpic'
    4943       lt_cv_prog_cc_static='-dn'
    4944       lt_cv_prog_cc_shlib='-belf'
     6496      lt_prog_compiler_pic='-Kpic'
     6497      lt_prog_compiler_static='-dn'
    49456498      ;;
    49466499
    49476500    solaris*)
    4948       lt_cv_prog_cc_pic='-KPIC'
    4949       lt_cv_prog_cc_static='-Bstatic'
    4950       lt_cv_prog_cc_wl='-Wl,'
     6501      lt_prog_compiler_wl='-Wl,'
     6502      lt_prog_compiler_pic='-KPIC'
     6503      lt_prog_compiler_static='-Bstatic'
    49516504      ;;
    49526505
    49536506    sunos4*)
    4954       lt_cv_prog_cc_pic='-PIC'
    4955       lt_cv_prog_cc_static='-Bstatic'
    4956       lt_cv_prog_cc_wl='-Qoption ld '
     6507      lt_prog_compiler_wl='-Qoption ld '
     6508      lt_prog_compiler_pic='-PIC'
     6509      lt_prog_compiler_static='-Bstatic'
    49576510      ;;
    49586511
    49596512    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,'
    4963       ;;
    4964 
    4965     uts4*)
    4966       lt_cv_prog_cc_pic='-pic'
    4967       lt_cv_prog_cc_static='-Bstatic'
     6513      lt_prog_compiler_wl='-Wl,'
     6514      lt_prog_compiler_pic='-KPIC'
     6515      lt_prog_compiler_static='-Bstatic'
    49686516      ;;
    49696517
    49706518    sysv4*MP*)
    49716519      if test -d /usr/nec ;then
    4972         lt_cv_prog_cc_pic='-Kconform_pic'
    4973         lt_cv_prog_cc_static='-Bstatic'
     6520        lt_prog_compiler_pic='-Kconform_pic'
     6521        lt_prog_compiler_static='-Bstatic'
    49746522      fi
    49756523      ;;
    49766524
     6525    uts4*)
     6526      lt_prog_compiler_pic='-pic'
     6527      lt_prog_compiler_static='-Bstatic'
     6528      ;;
     6529
    49776530    *)
    4978       lt_cv_prog_cc_can_build_shared=no
     6531      lt_prog_compiler_can_build_shared=no
    49796532      ;;
    49806533    esac
    49816534  fi
    49826535
    4983 fi
    4984 
    4985 if test -z "$lt_cv_prog_cc_pic"; then
    4986   echo "$as_me:$LINENO: result: none" >&5
    4987 echo "${ECHO_T}none" >&6
    4988 else
    4989   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
    4990 echo "${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
    4994 echo $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
     6536echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
     6537echo "${ECHO_T}$lt_prog_compiler_pic" >&6
     6538
     6539#
     6540# Check to make sure the PIC flag actually works.
     6541#
     6542if test -n "$lt_prog_compiler_pic"; then
     6543
     6544echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     6545echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
     6546if test "${lt_prog_compiler_pic_works+set}" = set; then
    49966547  echo $ECHO_N "(cached) $ECHO_C" >&6
    49976548else
    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
    5004 cat confdefs.h >>conftest.$ac_ext
    5005 cat >>conftest.$ac_ext <<_ACEOF
    5006 /* end confdefs.h.  */
    5007 
    5008 int
    5009 main ()
    5010 {
    5011 
    5012   ;
    5013   return 0;
    5014 }
    5015 _ACEOF
    5016 rm -f conftest.$ac_objext
    5017 if { (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 
    5044 else
    5045   echo "$as_me: failed program was:" >&5
    5046 sed 's/^/| /' conftest.$ac_ext >&5
    5047 
    5048       lt_cv_prog_cc_pic_works=no
    5049 
    5050 fi
    5051 rm -f conftest.$ac_objext conftest.$ac_ext
    5052     CFLAGS="$save_CFLAGS"
    5053 
    5054 fi
    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
    5065 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
    5066 fi
    5067 
    5068 # Check for any special shared library compilation flags.
    5069 if 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
    5071 echo "$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
    5075 echo "$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
    5078 fi
    5079 
    5080 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
    5081 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
    5082 if test "${lt_cv_prog_cc_static_works+set}" = set; then
    5083   echo $ECHO_N "(cached) $ECHO_C" >&6
    5084 else
    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
    5092 cat confdefs.h >>conftest.$ac_ext
    5093 cat >>conftest.$ac_ext <<_ACEOF
    5094 /* end confdefs.h.  */
    5095 
    5096 int
    5097 main ()
    5098 {
    5099 
    5100   ;
    5101   return 0;
    5102 }
    5103 _ACEOF
    5104 rm -f conftest.$ac_objext conftest$ac_exeext
    5105 if { (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
    5117 else
    5118   echo "$as_me: failed program was:" >&5
    5119 sed 's/^/| /' conftest.$ac_ext >&5
    5120 
    5121 fi
    5122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5123   LDFLAGS="$save_LDFLAGS"
    5124 
    5125 fi
    5126 
    5127 
    5128 # Belt *and* braces to stop my trousers falling down:
    5129 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
    5130 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
    5131 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
    5132 
    5133 pic_flag="$lt_cv_prog_cc_pic"
    5134 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
    5135 wl="$lt_cv_prog_cc_wl"
    5136 link_static_flag="$lt_cv_prog_cc_static"
    5137 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
    5138 can_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
     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
     6576fi
     6577echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
     6578echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
     6579
     6580if 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
     6585else
     6586    lt_prog_compiler_pic=
     6587     lt_prog_compiler_can_build_shared=no
     6588fi
     6589
     6590fi
     6591case "$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    ;;
     6599esac
     6600
    51426601echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
    51436602echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
    5144 if test "${lt_cv_compiler_c_o+set}" = set; then
     6603if test "${lt_cv_prog_compiler_c_o+set}" = set; then
    51456604  echo $ECHO_N "(cached) $ECHO_C" >&6
    51466605else
    5147 
    5148 $rm -r conftest 2>/dev/null
    5149 mkdir conftest
    5150 cd conftest
    5151 echo "int some_variable = 0;" > conftest.$ac_ext
    5152 mkdir 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.
    5158 chmod -w .
    5159 save_CFLAGS="$CFLAGS"
    5160 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
    5161 compiler_c_o=no
    5162 if { (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
    5170 else
    5171   # Append any errors to the config.log.
    5172   cat out/conftest.err 1>&5
    5173   lt_cv_compiler_c_o=no
    5174 fi
    5175 CFLAGS="$save_CFLAGS"
    5176 chmod u+w .
    5177 $rm conftest* out/*
    5178 rmdir out
    5179 cd ..
    5180 rmdir conftest
    5181 $rm -r conftest 2>/dev/null
    5182 
    5183 fi
    5184 
    5185 compiler_c_o=$lt_cv_compiler_c_o
    5186 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
    5187 echo "${ECHO_T}$compiler_c_o" >&6
    5188 
    5189 if 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
    5192 echo $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
    5195 else
    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
    5206 cat confdefs.h >>conftest.$ac_ext
    5207 cat >>conftest.$ac_ext <<_ACEOF
    5208 /* end confdefs.h.  */
    5209 
    5210 int
    5211 main ()
    5212 {
    5213 int some_variable = 0;
    5214   ;
    5215   return 0;
    5216 }
    5217 _ACEOF
    5218 rm -f conftest.$ac_objext
    5219 if { (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 
    5238 else
    5239   echo "$as_me: failed program was:" >&5
    5240 sed 's/^/| /' conftest.$ac_ext >&5
    5241 
    5242 fi
    5243 rm -f conftest.$ac_objext conftest.$ac_ext
    5244   ac_objext="$save_objext"
    5245   CFLAGS="$save_CFLAGS"
    5246 
    5247 fi
    5248 
    5249   compiler_o_lo=$lt_cv_compiler_o_lo
    5250   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
    5251 echo "${ECHO_T}$compiler_o_lo" >&6
    5252 else
    5253   compiler_o_lo=no
    5254 fi
    5255 
    5256 # Check to see if we can do hard links to lock some files if needed
     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
     6645fi
     6646echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
     6647echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
     6648
     6649
    52576650hard_links="nottested"
    5258 if test "$compiler_c_o" = no && test "$need_locks" != no; then
     6651if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
    52596652  # do not overwrite the value of need_locks provided by the user
    52606653  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
     
    52776670fi
    52786671
    5279 if 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
    5282 echo $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
    5291 cat confdefs.h >>conftest.$ac_ext
    5292 cat >>conftest.$ac_ext <<_ACEOF
    5293 /* end confdefs.h.  */
    5294 
    5295 int
    5296 main ()
    5297 {
    5298 int some_variable = 0;
    5299   ;
    5300   return 0;
    5301 }
    5302 _ACEOF
    5303 rm -f conftest.$ac_objext
    5304 if { (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
     6672echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     6673echo $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
     6712  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
    53216719    fi
    5322 
    5323 else
    5324   echo "$as_me: failed program was:" >&5
    5325 sed 's/^/| /' conftest.$ac_ext >&5
    5326 
    5327 fi
    5328 rm -f conftest.$ac_objext conftest.$ac_ext
    5329   CFLAGS="$save_CFLAGS"
    5330   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
    5331 echo "${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
    5338 fi
    5339 
    5340 # See if the linker supports building shared libraries.
    5341 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
    5342 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
    5343 
    5344 allow_undefined_flag=
    5345 no_undefined_flag=
    5346 need_lib_prefix=unknown
    5347 need_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
    5350 archive_cmds=
    5351 archive_expsym_cmds=
    5352 old_archive_from_new_cmds=
    5353 old_archive_from_expsyms_cmds=
    5354 export_dynamic_flag_spec=
    5355 whole_archive_flag_spec=
    5356 thread_safe_flag_spec=
    5357 hardcode_into_libs=no
    5358 hardcode_libdir_flag_spec=
    5359 hardcode_libdir_separator=
    5360 hardcode_direct=no
    5361 hardcode_minus_L=no
    5362 hardcode_shlibpath_var=unsupported
    5363 runpath_var=
    5364 link_all_deplibs=unknown
    5365 always_export_symbols=no
    5366 export_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
    5369 include_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'.
    5374 exclude_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.
    5380 extract_expsyms_cmds=
    5381 
    5382 case $host_os in
    5383 cygwin* | 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
     6720    ;;
     6721  openbsd*)
    53886722    with_gnu_ld=no
    5389   fi
    5390   ;;
    5391 openbsd*)
    5392   with_gnu_ld=no
    5393   ;;
    5394 esac
    5395 
    5396 ld_shlibs=yes
    5397 if 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.
    5402   case $host_os in
    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
     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
    54086738
    54096739*** Warning: the GNU linker, at least up to release 2.9.1, is reported
     
    54146744
    54156745EOF
    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
     6746      fi
     6747      ;;
     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.
     6760      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'
    54346778      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~
    5469       ;;
    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;
     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'
    55006794      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
    5533       ld_shlibs=no
    5534       cat <<EOF 1>&2
     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
    55356813
    55366814*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     
    55426820
    55436821EOF
    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'
     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~
     6851cat $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
    55476857    else
    55486858      ld_shlibs=no
     
    55506860    ;;
    55516861
    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'
     6862    *)
     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'
     6866      else
     6867        ld_shlibs=no
     6868      fi
     6869      ;;
     6870    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'
     6879      else
     6880        whole_archive_flag_spec=
     6881      fi
     6882    fi
     6883  else
     6884    # PORTME fill in a description of your system's linker (not GNU ld)
     6885    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
     6992cat confdefs.h >>conftest.$ac_ext
     6993cat >>conftest.$ac_ext <<_ACEOF
     6994/* end confdefs.h.  */
     6995
     6996int
     6997main ()
     6998{
     6999
     7000  ;
     7001  return 0;
     7002}
     7003_ACEOF
     7004rm -f conftest.$ac_objext conftest$ac_exeext
     7005if { (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
     7027aix_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.
     7030if 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
     7032else
     7033  echo "$as_me: failed program was:" >&5
     7034sed 's/^/| /' conftest.$ac_ext >&5
     7035
     7036fi
     7037rm -f conftest.err conftest.$ac_objext \
     7038      conftest$ac_exeext conftest.$ac_ext
     7039if 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
     7053cat confdefs.h >>conftest.$ac_ext
     7054cat >>conftest.$ac_ext <<_ACEOF
     7055/* end confdefs.h.  */
     7056
     7057int
     7058main ()
     7059{
     7060
     7061  ;
     7062  return 0;
     7063}
     7064_ACEOF
     7065rm -f conftest.$ac_objext conftest$ac_exeext
     7066if { (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
     7088aix_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.
     7091if 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
     7093else
     7094  echo "$as_me: failed program was:" >&5
     7095sed 's/^/| /' conftest.$ac_ext >&5
     7096
     7097fi
     7098rm -f conftest.err conftest.$ac_objext \
     7099      conftest$ac_exeext conftest.$ac_ext
     7100if 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
     7154      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
     7171        ;;
     7172      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
    55637196    else
    55647197      ld_shlibs=no
    55657198    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*)
     7396      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     7397      hardcode_shlibpath_var=no
     7398      export_dynamic_flag_spec='${wl}-Bexport'
     7399      runpath_var=LD_RUN_PATH
     7400      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
     7520echo "$as_me:$LINENO: result: $ld_shlibs" >&5
     7521echo "${ECHO_T}$ld_shlibs" >&6
     7522test "$ld_shlibs" = no && can_build_shared=no
     7523
     7524variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     7525if test "$GCC" = yes; then
     7526  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     7527fi
     7528
     7529#
     7530# Do we need to explicitly link libc?
     7531#
     7532case "x$archive_cmds_need_lc" in
     7533x|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
     7547echo $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
     7584echo "${ECHO_T}$archive_cmds_need_lc" >&6
     7585      ;;
     7586    esac
     7587  fi
     7588  ;;
     7589esac
     7590
     7591echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
     7592echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     7593library_names_spec=
     7594libname_spec='lib$name'
     7595soname_spec=
     7596shrext_cmds=".so"
     7597postinstall_cmds=
     7598postuninstall_cmds=
     7599finish_cmds=
     7600finish_eval=
     7601shlibpath_var=
     7602shlibpath_overrides_runpath=unknown
     7603version_type=none
     7604dynamic_linker="$host_os ld.so"
     7605sys_lib_dlsearch_path_spec="/lib /usr/lib"
     7606if 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
     7617else
     7618  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     7619fi
     7620need_lib_prefix=unknown
     7621hardcode_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
     7625need_version=unknown
     7626
     7627case $host_os in
     7628aix3*)
     7629  version_type=linux
     7630  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     7631  shlibpath_var=LIBPATH
     7632
     7633  # AIX 3 has no versioning support, so we append a major version to the name.
     7634  soname_spec='${libname}${release}${shared_ext}$major'
     7635  ;;
     7636
     7637aix4* | aix5*)
     7638  version_type=linux
     7639  need_lib_prefix=no
     7640  need_version=no
     7641  hardcode_into_libs=yes
     7642  if test "$host_cpu" = ia64; then
     7643    # AIX 5 supports IA64
     7644    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     7645    shlibpath_var=LD_LIBRARY_PATH
     7646  else
     7647    # With GCC up to 2.95.x, collect2 would create an import file
     7648    # for dependence libraries.  The import file would start with
     7649    # the line `#! .'.  This would cause the generated library to
     7650    # depend on `.', always an invalid library.  This was fixed in
     7651    # development snapshots of GCC prior to 3.0.
     7652    case $host_os in
     7653      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      ;;
     7662    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.
     7666    if test "$aix_use_runtimelinking" = yes; then
     7667      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
     7668      # instead of lib<name>.a to let people know that these are not
     7669      # typical AIX shared libraries.
     7670      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     7671    else
     7672      # We preserve .a as extension for shared libraries through AIX4.2
     7673      # and later when we are not doing run time linking.
     7674      library_names_spec='${libname}${release}.a $libname.a'
     7675      soname_spec='${libname}${release}${shared_ext}$major'
     7676    fi
     7677    shlibpath_var=LIBPATH
     7678  fi
     7679  ;;
     7680
     7681amigaos*)
     7682  library_names_spec='$libname.ixlibrary $libname.a'
     7683  # 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'
     7685  ;;
     7686
     7687beos*)
     7688  library_names_spec='${libname}${shared_ext}'
     7689  dynamic_linker="$host_os ld.so"
     7690  shlibpath_var=LIBRARY_PATH
     7691  ;;
     7692
     7693bsdi4*)
     7694  version_type=linux
     7695  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'
     7698  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     7699  shlibpath_var=LD_LIBRARY_PATH
     7700  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     7701  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     7702  # the default ld.so.conf also contains /usr/contrib/lib and
     7703  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     7704  # libtool to hard-code these into programs
     7705  ;;
     7706
     7707cygwin* | mingw* | pw32*)
     7708  version_type=windows
     7709  shrext_cmds=".dll"
     7710  need_version=no
     7711  need_lib_prefix=no
     7712
     7713  case $GCC,$host_os in
     7714  yes,cygwin* | yes,mingw* | yes,pw32*)
     7715    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'\''`~
     7719      dldir=$destdir/`dirname \$dlpath`~
     7720      test -d \$dldir || mkdir -p \$dldir~
     7721      $install_prog $dir/$dlname \$dldir/$dlname'
     7722    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     7723      dlpath=$dir/\$dldll~
     7724       $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
     7754    ;;
     7755
     7756  *)
     7757    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
    55667758    ;;
    55677759  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       ;;
     7760  dynamic_linker='Win32 ld.exe'
     7761  # FIXME: first we should search . and the directory the executable is in
     7762  shlibpath_var=PATH
     7763  ;;
     7764
     7765darwin* | rhapsody*)
     7766  dynamic_linker="$host_os dyld"
     7767  version_type=darwin
     7768  need_lib_prefix=no
     7769  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'
     7772  shlibpath_overrides_runpath=yes
     7773  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
     7784dgux*)
     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
     7791  ;;
     7792
     7793freebsd1*)
     7794  dynamic_linker=no
     7795  ;;
     7796
     7797kfreebsd*-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'
     7807  ;;
     7808
     7809freebsd*)
     7810  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
     7811  version_type=freebsd-$objformat
     7812  case $version_type in
     7813    freebsd-elf*)
     7814      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     7815      need_version=no
     7816      need_lib_prefix=no
     7817      ;;
     7818    freebsd-*)
     7819      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     7820      need_version=yes
     7821      ;;
     7822  esac
     7823  shlibpath_var=LD_LIBRARY_PATH
     7824  case $host_os in
     7825  freebsd2*)
     7826    shlibpath_overrides_runpath=yes
     7827    ;;
     7828  freebsd3.01* | freebsdelf3.01*)
     7829    shlibpath_overrides_runpath=yes
     7830    hardcode_into_libs=yes
     7831    ;;
     7832  *) # from 3.2 on
     7833    shlibpath_overrides_runpath=no
     7834    hardcode_into_libs=yes
     7835    ;;
     7836  esac
     7837  ;;
     7838
     7839gnu*)
     7840  version_type=linux
     7841  need_lib_prefix=no
     7842  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'
     7845  shlibpath_var=LD_LIBRARY_PATH
     7846  hardcode_into_libs=yes
     7847  ;;
     7848
     7849hpux9* | hpux10* | hpux11*)
     7850  # Give a soname corresponding to the major version so that dld.sl refuses to
     7851  # link against other versions.
     7852  version_type=sunos
     7853  need_lib_prefix=no
     7854  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
     7891  # HP-UX runs *really* slowly unless shared libraries are mode 555.
     7892  postinstall_cmds='chmod 555 $lib'
     7893  ;;
     7894
     7895irix5* | irix6* | nonstopux*)
     7896  case $host_os in
     7897    nonstopux*) version_type=nonstopux ;;
    55787898    *)
    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'
    5582       else
    5583         whole_archive_flag_spec=
    5584       fi
    5585       ;;
     7899        if test "$lt_cv_prog_gnu_ld" = yes; then
     7900                version_type=linux
     7901        else
     7902                version_type=irix
     7903        fi ;;
     7904  esac
     7905  need_lib_prefix=no
     7906  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}'
     7909  case $host_os in
     7910  irix5* | nonstopux*)
     7911    libsuff= shlibsuff=
     7912    ;;
     7913  *)
     7914    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;;
     7921    *) libsuff= shlibsuff= libmagic=never-match;;
    55867922    esac
    5587   fi
    5588 else
    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
    56037923    ;;
    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'
    5667       else
    5668         if test "$aix_use_runtimelinking" = yes; then
    5669           shared_flag='${wl}-G'
    5670         else
    5671           shared_flag='${wl}-bM:SRE'
    5672         fi
    5673       fi
    5674     fi
    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*)
    5781     case $host_os in
    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
    5832       case "$host_os" in
    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'
     7924  esac
     7925  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     7926  shlibpath_overrides_runpath=no
     7927  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     7928  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     7929  hardcode_into_libs=yes
     7930  ;;
     7931
     7932# No shared lib support for Linux oldld, aout, or coff.
     7933linux*oldld* | linux*aout* | linux*coff*)
     7934  dynamic_linker=no
     7935  ;;
     7936
     7937# This must be Linux ELF.
     7938linux*)
     7939  version_type=linux
     7940  need_lib_prefix=no
     7941  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'
     7944  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     7945  shlibpath_var=LD_LIBRARY_PATH
     7946  shlibpath_overrides_runpath=no
     7947  # This implies no fast_install, which is unacceptable.
     7948  # Some rework will be needed to allow for fast_install
     7949  # before this can be enabled.
     7950  hardcode_into_libs=yes
     7951
     7952  # find out which ABI we are using
     7953  libsuff=
     7954  case "$host_cpu" in
     7955  x86_64*|s390x*|powerpc64*)
     7956    echo '#line 7956 "configure"' > conftest.$ac_ext
     7957    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7958  (eval $ac_compile) 2>&5
     7959  ac_status=$?
     7960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7961  (exit $ac_status); }; then
     7962      case `/usr/bin/file conftest.$ac_objext` in
     7963      *64-bit*)
     7964        libsuff=64
     7965        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
    58407966        ;;
    58417967      esac
    58427968    fi
     7969    rm -rf conftest*
    58437970    ;;
    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 
    5915 EOF
    5916         no_undefined_flag=
     7971  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
     7988knetbsd*-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'
     7998  ;;
     7999
     8000netbsd*)
     8001  version_type=sunos
     8002  need_lib_prefix=no
     8003  need_version=no
     8004  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
     8005    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     8006    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     8007    dynamic_linker='NetBSD (a.out) ld.so'
     8008  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'
     8011    dynamic_linker='NetBSD ld.elf_so'
     8012  fi
     8013  shlibpath_var=LD_LIBRARY_PATH
     8014  shlibpath_overrides_runpath=yes
     8015  hardcode_into_libs=yes
     8016  ;;
     8017
     8018newsos6)
     8019  version_type=linux
     8020  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     8021  shlibpath_var=LD_LIBRARY_PATH
     8022  shlibpath_overrides_runpath=yes
     8023  ;;
     8024
     8025nto-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
     8035openbsd*)
     8036  version_type=sunos
     8037  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
     8042  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
    59178049        ;;
    59188050      esac
    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'
    5940     else
    5941       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    5942     fi
    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
    6003       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    6004       hardcode_shlibpath_var=no
     8051  else
     8052    shlibpath_overrides_runpath=yes
     8053  fi
     8054  ;;
     8055
     8056os2*)
     8057  libname_spec='$name'
     8058  shrext_cmds=".dll"
     8059  need_lib_prefix=no
     8060  library_names_spec='$libname${shared_ext} $libname.a'
     8061  dynamic_linker='OS/2 ld.exe'
     8062  shlibpath_var=LIBPATH
     8063  ;;
     8064
     8065osf3* | osf4* | osf5*)
     8066  version_type=osf
     8067  need_lib_prefix=no
     8068  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}'
     8071  shlibpath_var=LD_LIBRARY_PATH
     8072  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     8073  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     8074  ;;
     8075
     8076sco3.2v5*)
     8077  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}'
     8080  shlibpath_var=LD_LIBRARY_PATH
     8081  ;;
     8082
     8083solaris*)
     8084  version_type=linux
     8085  need_lib_prefix=no
     8086  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'
     8089  shlibpath_var=LD_LIBRARY_PATH
     8090  shlibpath_overrides_runpath=yes
     8091  hardcode_into_libs=yes
     8092  # ldd complains unless libraries are executable
     8093  postinstall_cmds='chmod +x $lib'
     8094  ;;
     8095
     8096sunos4*)
     8097  version_type=sunos
     8098  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     8099  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     8100  shlibpath_var=LD_LIBRARY_PATH
     8101  shlibpath_overrides_runpath=yes
     8102  if test "$with_gnu_ld" = yes; then
     8103    need_lib_prefix=no
     8104  fi
     8105  need_version=yes
     8106  ;;
     8107
     8108sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     8109  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'
     8112  shlibpath_var=LD_LIBRARY_PATH
     8113  case $host_vendor in
     8114    sni)
     8115      shlibpath_overrides_runpath=no
     8116      need_lib_prefix=no
     8117      export_dynamic_flag_spec='${wl}-Blargedynsym'
    60058118      runpath_var=LD_RUN_PATH
    6006       hardcode_runpath_var=yes
    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     ;;
     8119      ;;
     8120    siemens)
     8121      need_lib_prefix=no
     8122      ;;
     8123    motorola)
     8124      need_lib_prefix=no
     8125      need_version=no
     8126      shlibpath_overrides_runpath=no
     8127      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
     8128      ;;
    60348129  esac
    6035 fi
    6036 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
    6037 echo "${ECHO_T}$ld_shlibs" >&6
    6038 test "$ld_shlibs" = no && can_build_shared=no
    6039 
    6040 # Check hardcoding attributes.
     8130  ;;
     8131
     8132sysv4*MP*)
     8133  if test -d /usr/nec ;then
     8134    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'
     8137    shlibpath_var=LD_LIBRARY_PATH
     8138  fi
     8139  ;;
     8140
     8141uts4*)
     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
     8146  ;;
     8147
     8148*)
     8149  dynamic_linker=no
     8150  ;;
     8151esac
     8152echo "$as_me:$LINENO: result: $dynamic_linker" >&5
     8153echo "${ECHO_T}$dynamic_linker" >&6
     8154test "$dynamic_linker" = no && can_build_shared=no
     8155
    60418156echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
    60428157echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
    60438158hardcode_action=
    60448159if test -n "$hardcode_libdir_flag_spec" || \
    6045    test -n "$runpath_var"; then
     8160   test -n "$runpath_var " || \
     8161   test "X$hardcode_automatic"="Xyes" ; then
    60468162
    60478163  # We can hardcode non-existant directories.
     
    60508166     # have to relink, otherwise we might link with an installed library
    60518167     # when we should be linking with a yet-to-be-installed one
    6052      ## test "$hardcode_shlibpath_var" != no &&
     8168     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
    60538169     test "$hardcode_minus_L" != no; then
    60548170    # Linking always hardcodes the temporary library directory.
     
    60658181echo "$as_me:$LINENO: result: $hardcode_action" >&5
    60668182echo "${ECHO_T}$hardcode_action" >&6
     8183
     8184if test "$hardcode_action" = relink; then
     8185  # Fast installation is not supported
     8186  enable_fast_install=no
     8187elif test "$shlibpath_overrides_runpath" = yes ||
     8188     test "$enable_shared" = no; then
     8189  # Fast installation is not necessary
     8190  enable_fast_install=needless
     8191fi
    60678192
    60688193striplib=
     
    60768201echo "${ECHO_T}yes" >&6
    60778202else
     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
     8209echo "${ECHO_T}yes" >&6
     8210       else
    60788211  echo "$as_me:$LINENO: result: no" >&5
    60798212echo "${ECHO_T}no" >&6
    60808213fi
    6081 
    6082 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    6083 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    6084 
    6085 # PORTME Fill in your ld.so characteristics
    6086 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
    6087 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
    6088 library_names_spec=
    6089 libname_spec='lib$name'
    6090 soname_spec=
    6091 postinstall_cmds=
    6092 postuninstall_cmds=
    6093 finish_cmds=
    6094 finish_eval=
    6095 shlibpath_var=
    6096 shlibpath_overrides_runpath=unknown
    6097 version_type=none
    6098 dynamic_linker="$host_os ld.so"
    6099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    6100 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    6101 
    6102 case $host_os in
    6103 aix3*)
    6104   version_type=linux
    6105   library_names_spec='${libname}${release}.so$versuffix $libname.a'
    6106   shlibpath_var=LIBPATH
    6107 
    6108   # AIX has no versioning support, so we append a major version to the name.
    6109   soname_spec='${libname}${release}.so$major'
    6110   ;;
    6111 
    6112 aix4* | aix5*)
    6113   version_type=linux
    6114   need_lib_prefix=no
    6115   need_version=no
    6116   hardcode_into_libs=yes
    6117   if test "$host_cpu" = ia64; then
    6118     # AIX 5 supports IA64
    6119     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
    6120     shlibpath_var=LD_LIBRARY_PATH
    6121   else
    6122     # With GCC up to 2.95.x, collect2 would create an import file
    6123     # for dependence libraries.  The import file would start with
    6124     # the line `#! .'.  This would cause the generated library to
    6125     # depend on `.', always an invalid library.  This was fixed in
    6126     # development snapshots of GCC prior to 3.0.
    6127     case $host_os in
    6128       aix4 | aix4.[01] | aix4.[01].*)
    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         ;;
    6137     esac
    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.
    6142     if test "$aix_use_runtimelinking" = yes; then
    6143       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    6144       # instead of lib<name>.a to let people know that these are not
    6145       # typical AIX shared libraries.
    6146       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6147     else
    6148       # We preserve .a as extension for shared libraries through AIX4.2
    6149       # and later when we are not doing run time linking.
    6150       library_names_spec='${libname}${release}.a $libname.a'
    6151       soname_spec='${libname}${release}.so$major'
    6152     fi
    6153     shlibpath_var=LIBPATH
    6154   fi
    6155   hardcode_into_libs=yes
    6156   ;;
    6157 
    6158 amigaos*)
    6159   library_names_spec='$libname.ixlibrary $libname.a'
    6160   # Create ${libname}_ixlibrary.a entries in /sys/libs.
    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'
    6162   ;;
    6163 
    6164 beos*)
    6165   library_names_spec='${libname}.so'
    6166   dynamic_linker="$host_os ld.so"
    6167   shlibpath_var=LIBRARY_PATH
    6168   ;;
    6169 
    6170 bsdi4*)
    6171   version_type=linux
    6172   need_version=no
    6173   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6174   soname_spec='${libname}${release}.so$major'
    6175   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    6176   shlibpath_var=LD_LIBRARY_PATH
    6177   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    6178   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    6179   export_dynamic_flag_spec=-rdynamic
    6180   # the default ld.so.conf also contains /usr/contrib/lib and
    6181   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    6182   # libtool to hard-code these into programs
    6183   ;;
    6184 
    6185 cygwin* | mingw* | pw32*)
    6186   version_type=windows
    6187   need_version=no
    6188   need_lib_prefix=no
    6189   case $GCC,$host_os in
    6190   yes,cygwin*)
    6191     library_names_spec='$libname.dll.a'
    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'\''`~
    6194       dldir=$destdir/`dirname \$dlpath`~
    6195       test -d \$dldir || mkdir -p \$dldir~
    6196       $install_prog .libs/$dlname \$dldir/$dlname'
    6197     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
    6198       dlpath=$dir/\$dldll~
    6199        $rm \$dlpath'
    6200     ;;
    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     ;;
    6208   *)
    6209     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
     8214       ;;
     8215   *)
     8216  echo "$as_me:$LINENO: result: no" >&5
     8217echo "${ECHO_T}no" >&6
    62108218    ;;
    62118219  esac
    6212   dynamic_linker='Win32 ld.exe'
    6213   # FIXME: first we should search . and the directory the executable is in
    6214   shlibpath_var=PATH
    6215   ;;
    6216 
    6217 darwin* | rhapsody*)
    6218   dynamic_linker="$host_os dyld"
    6219   version_type=darwin
    6220   need_lib_prefix=no
    6221   need_version=no
    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)'
    6227   shlibpath_overrides_runpath=yes
    6228   shlibpath_var=DYLD_LIBRARY_PATH
    6229   ;;
    6230 
    6231 freebsd1*)
    6232   dynamic_linker=no
    6233   ;;
    6234 
    6235 freebsd*)
    6236   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
    6237   version_type=freebsd-$objformat
    6238   case $version_type in
    6239     freebsd-elf*)
    6240       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
    6241       need_version=no
    6242       need_lib_prefix=no
    6243       ;;
    6244     freebsd-*)
    6245       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
    6246       need_version=yes
    6247       ;;
    6248   esac
    6249   shlibpath_var=LD_LIBRARY_PATH
    6250   case $host_os in
    6251   freebsd2*)
    6252     shlibpath_overrides_runpath=yes
    6253     ;;
    6254   *)
    6255     shlibpath_overrides_runpath=no
    6256     hardcode_into_libs=yes
    6257     ;;
    6258   esac
    6259   ;;
    6260 
    6261 gnu*)
    6262   version_type=linux
    6263   need_lib_prefix=no
    6264   need_version=no
    6265   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
    6266   soname_spec='${libname}${release}.so$major'
    6267   shlibpath_var=LD_LIBRARY_PATH
    6268   hardcode_into_libs=yes
    6269   ;;
    6270 
    6271 hpux9* | hpux10* | hpux11*)
    6272   # Give a soname corresponding to the major version so that dld.sl refuses to
    6273   # link against other versions.
    6274   dynamic_linker="$host_os dld.sl"
    6275   version_type=sunos
    6276   need_lib_prefix=no
    6277   need_version=no
    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'
    6282   # HP-UX runs *really* slowly unless shared libraries are mode 555.
    6283   postinstall_cmds='chmod 555 $lib'
    6284   ;;
    6285 
    6286 irix5* | irix6* | nonstopux*)
    6287   case $host_os in
    6288     nonstopux*) version_type=nonstopux ;;
    6289     *)          version_type=irix ;;
    6290   esac
    6291   need_lib_prefix=no
    6292   need_version=no
    6293   soname_spec='${libname}${release}.so$major'
    6294   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
    6295   case $host_os in
    6296   irix5* | nonstopux*)
    6297     libsuff= shlibsuff=
    6298     ;;
    6299   *)
    6300     case $LD in # libtool.m4 will add one of these switches to LD
    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;;
    6304     *) libsuff= shlibsuff= libmagic=never-match;;
    6305     esac
    6306     ;;
    6307   esac
    6308   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    6309   shlibpath_overrides_runpath=no
    6310   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    6311   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
    6312   ;;
    6313 
    6314 # No shared lib support for Linux oldld, aout, or coff.
    6315 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
    6316   dynamic_linker=no
    6317   ;;
    6318 
    6319 # This must be Linux ELF.
    6320 linux-gnu*)
    6321   version_type=linux
    6322   need_lib_prefix=no
    6323   need_version=no
    6324   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6325   soname_spec='${libname}${release}.so$major'
    6326   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    6327   shlibpath_var=LD_LIBRARY_PATH
    6328   shlibpath_overrides_runpath=no
    6329   # This implies no fast_install, which is unacceptable.
    6330   # Some rework will be needed to allow for fast_install
    6331   # before this can be enabled.
    6332   hardcode_into_libs=yes
    6333 
    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).
    6343   libsuff=
    6344   case "$host_cpu" in
    6345   x86_64*|s390x*)
    6346     echo '#line 6346 "configure"' > conftest.$ac_ext
    6347     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6348   (eval $ac_compile) 2>&5
    6349   ac_status=$?
    6350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6351   (exit $ac_status); }; then
    6352       case `/usr/bin/file conftest.$ac_objext` in
    6353       *64-bit*)
    6354         libsuff=64
    6355         ;;
    6356       esac
    6357     fi
    6358     rm -rf conftest*
    6359     ;;
    6360   *)
    6361     ;;
    6362   esac
    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}"
    6365   ;;
    6366 
    6367 netbsd*)
    6368   version_type=sunos
    6369   need_lib_prefix=no
    6370   need_version=no
    6371   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    6372     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
    6373     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    6374     dynamic_linker='NetBSD (a.out) ld.so'
    6375   else
    6376     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
    6377     soname_spec='${libname}${release}.so$major'
    6378     dynamic_linker='NetBSD ld.elf_so'
    6379   fi
    6380   shlibpath_var=LD_LIBRARY_PATH
    6381   shlibpath_overrides_runpath=yes
    6382   hardcode_into_libs=yes
    6383   ;;
    6384 
    6385 newsos6)
    6386   version_type=linux
    6387   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6388   shlibpath_var=LD_LIBRARY_PATH
    6389   shlibpath_overrides_runpath=yes
    6390   ;;
    6391 
    6392 openbsd*)
    6393   version_type=sunos
    6394   need_lib_prefix=no
    6395   need_version=no
    6396   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    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
    6405   else
    6406     shlibpath_overrides_runpath=yes
    6407   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
    6411   ;;
    6412 
    6413 os2*)
    6414   libname_spec='$name'
    6415   need_lib_prefix=no
    6416   library_names_spec='$libname.dll $libname.a'
    6417   dynamic_linker='OS/2 ld.exe'
    6418   shlibpath_var=LIBPATH
    6419   ;;
    6420 
    6421 osf3* | osf4* | osf5*)
    6422   version_type=osf
    6423   need_version=no
    6424   soname_spec='${libname}${release}.so$major'
    6425   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6426   shlibpath_var=LD_LIBRARY_PATH
    6427   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    6428   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
    6429   hardcode_into_libs=yes
    6430   ;;
    6431 
    6432 sco3.2v5*)
    6433   version_type=osf
    6434   soname_spec='${libname}${release}.so$major'
    6435   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6436   shlibpath_var=LD_LIBRARY_PATH
    6437   ;;
    6438 
    6439 solaris*)
    6440   version_type=linux
    6441   need_lib_prefix=no
    6442   need_version=no
    6443   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6444   soname_spec='${libname}${release}.so$major'
    6445   shlibpath_var=LD_LIBRARY_PATH
    6446   shlibpath_overrides_runpath=yes
    6447   hardcode_into_libs=yes
    6448   # ldd complains unless libraries are executable
    6449   postinstall_cmds='chmod +x $lib'
    6450   ;;
    6451 
    6452 sunos4*)
    6453   version_type=sunos
    6454   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
    6455   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    6456   shlibpath_var=LD_LIBRARY_PATH
    6457   shlibpath_overrides_runpath=yes
    6458   if test "$with_gnu_ld" = yes; then
    6459     need_lib_prefix=no
    6460   fi
    6461   need_version=yes
    6462   ;;
    6463 
    6464 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    6465   version_type=linux
    6466   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    6467   soname_spec='${libname}${release}.so$major'
    6468   shlibpath_var=LD_LIBRARY_PATH
    6469   case $host_vendor in
    6470     sni)
    6471       shlibpath_overrides_runpath=no
    6472       need_lib_prefix=no
    6473       export_dynamic_flag_spec='${wl}-Blargedynsym'
    6474       runpath_var=LD_RUN_PATH
    6475       ;;
    6476     siemens)
    6477       need_lib_prefix=no
    6478       ;;
    6479     motorola)
    6480       need_lib_prefix=no
    6481       need_version=no
    6482       shlibpath_overrides_runpath=no
    6483       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    6484       ;;
    6485   esac
    6486   ;;
    6487 
    6488 uts4*)
    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 
    6495 dgux*)
    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 
    6504 sysv4*MP*)
    6505   if test -d /usr/nec ;then
    6506     version_type=linux
    6507     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
    6508     soname_spec='$libname.so.$major'
    6509     shlibpath_var=LD_LIBRARY_PATH
    6510   fi
    6511   ;;
    6512 
    6513 *)
    6514   dynamic_linker=no
    6515   ;;
    6516 esac
    6517 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
    6518 echo "${ECHO_T}$dynamic_linker" >&6
    6519 test "$dynamic_linker" = no && can_build_shared=no
    6520 
    6521 # Report the final consequences.
    6522 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
    6523 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
    6524 echo "$as_me:$LINENO: result: $can_build_shared" >&5
    6525 echo "${ECHO_T}$can_build_shared" >&6
    6526 
    6527 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
    6528 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
    6529 test "$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.
    6533 case "$host_os" in
    6534 aix3*)
    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'
    6539   fi
    6540   ;;
    6541 
    6542 aix4*)
    6543   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    6544     test "$enable_shared" = yes && enable_static=no
    6545   fi
    6546   ;;
    6547 esac
    6548 echo "$as_me:$LINENO: result: $enable_shared" >&5
    6549 echo "${ECHO_T}$enable_shared" >&6
    6550 
    6551 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
    6552 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
    6553 # Make sure either enable_shared or enable_static is yes.
    6554 test "$enable_shared" = yes || enable_static=yes
    6555 echo "$as_me:$LINENO: result: $enable_static" >&5
    6556 echo "${ECHO_T}$enable_static" >&6
    6557 
    6558 if test "$hardcode_action" = relink; then
    6559   # Fast installation is not supported
    6560   enable_fast_install=no
    6561 elif test "$shlibpath_overrides_runpath" = yes ||
    6562      test "$enable_shared" = no; then
    6563   # Fast installation is not necessary
    6564   enable_fast_install=needless
    6565 fi
    6566 
    6567 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    6568 if test "$GCC" = yes; then
    6569   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    65708220fi
    65718221
     
    65858235    ;;
    65868236
    6587   cygwin* | mingw* | pw32*)
     8237  mingw* | pw32*)
    65888238    lt_cv_dlopen="LoadLibrary"
    65898239    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
     8250echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     8251if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     8252  echo $ECHO_N "(cached) $ECHO_C" >&6
     8253else
     8254  ac_check_lib_save_LIBS=$LIBS
     8255LIBS="-ldl  $LIBS"
     8256cat >conftest.$ac_ext <<_ACEOF
     8257/* confdefs.h.  */
     8258_ACEOF
     8259cat confdefs.h >>conftest.$ac_ext
     8260cat >>conftest.$ac_ext <<_ACEOF
     8261/* end confdefs.h.  */
     8262
     8263/* Override any gcc2 internal prototype to avoid an error.  */
     8264#ifdef __cplusplus
     8265extern "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.  */
     8269char dlopen ();
     8270int
     8271main ()
     8272{
     8273dlopen ();
     8274  ;
     8275  return 0;
     8276}
     8277_ACEOF
     8278rm -f conftest.$ac_objext conftest$ac_exeext
     8279if { (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
     8301else
     8302  echo "$as_me: failed program was:" >&5
     8303sed 's/^/| /' conftest.$ac_ext >&5
     8304
     8305ac_cv_lib_dl_dlopen=no
     8306fi
     8307rm -f conftest.err conftest.$ac_objext \
     8308      conftest$ac_exeext conftest.$ac_ext
     8309LIBS=$ac_check_lib_save_LIBS
     8310fi
     8311echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     8312echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
     8313if test $ac_cv_lib_dl_dlopen = yes; then
     8314  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     8315else
     8316
     8317    lt_cv_dlopen="dyld"
     8318    lt_cv_dlopen_libs=
     8319    lt_cv_dlopen_self=yes
     8320
     8321fi
     8322
    65908323   ;;
    65918324
     
    65978330else
    65988331  cat >conftest.$ac_ext <<_ACEOF
    6599 #line $LINENO "configure"
    66008332/* confdefs.h.  */
    66018333_ACEOF
     
    66038335cat >>conftest.$ac_ext <<_ACEOF
    66048336/* 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
    66058341/* System header to define __stub macros and hopefully few prototypes,
    66068342    which can conflict with char shl_load (); below.
    66078343    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    66088344    <limits.h> exists even on freestanding compilers.  */
     8345
    66098346#ifdef __STDC__
    66108347# include <limits.h>
     
    66128349# include <assert.h>
    66138350#endif
     8351
     8352#undef shl_load
     8353
    66148354/* Override any gcc2 internal prototype to avoid an error.  */
    66158355#ifdef __cplusplus
     
    66428382rm -f conftest.$ac_objext conftest$ac_exeext
    66438383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6644   (eval $ac_link) 2>&5
     8384  (eval $ac_link) 2>conftest.er1
     8385  ac_status=$?
     8386  grep -v '^ *+' conftest.er1 >conftest.err
     8387  rm -f conftest.er1
     8388  cat conftest.err >&5
     8389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8390  (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
    66458395  ac_status=$?
    66468396  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6647   (exit $ac_status); } &&
    6648         { ac_try='test -s conftest$ac_exeext'
     8397  (exit $ac_status); }; } &&
     8398        { ac_try='test -s conftest$ac_exeext'
    66498399  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    66508400  (eval $ac_try) 2>&5
     
    66598409ac_cv_func_shl_load=no
    66608410fi
    6661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8411rm -f conftest.err conftest.$ac_objext \
     8412      conftest$ac_exeext conftest.$ac_ext
    66628413fi
    66638414echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     
    66748425LIBS="-ldld  $LIBS"
    66758426cat >conftest.$ac_ext <<_ACEOF
    6676 #line $LINENO "configure"
    66778427/* confdefs.h.  */
    66788428_ACEOF
     
    66988448rm -f conftest.$ac_objext conftest$ac_exeext
    66998449if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6700   (eval $ac_link) 2>&5
     8450  (eval $ac_link) 2>conftest.er1
     8451  ac_status=$?
     8452  grep -v '^ *+' conftest.er1 >conftest.err
     8453  rm -f conftest.er1
     8454  cat conftest.err >&5
     8455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8456  (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
    67018461  ac_status=$?
    67028462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6703   (exit $ac_status); } &&
    6704         { ac_try='test -s conftest$ac_exeext'
     8463  (exit $ac_status); }; } &&
     8464        { ac_try='test -s conftest$ac_exeext'
    67058465  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    67068466  (eval $ac_try) 2>&5
     
    67158475ac_cv_lib_dld_shl_load=no
    67168476fi
    6717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8477rm -f conftest.err conftest.$ac_objext \
     8478      conftest$ac_exeext conftest.$ac_ext
    67188479LIBS=$ac_check_lib_save_LIBS
    67198480fi
     
    67298490else
    67308491  cat >conftest.$ac_ext <<_ACEOF
    6731 #line $LINENO "configure"
    67328492/* confdefs.h.  */
    67338493_ACEOF
     
    67358495cat >>conftest.$ac_ext <<_ACEOF
    67368496/* 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
    67378501/* System header to define __stub macros and hopefully few prototypes,
    67388502    which can conflict with char dlopen (); below.
    67398503    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    67408504    <limits.h> exists even on freestanding compilers.  */
     8505
    67418506#ifdef __STDC__
    67428507# include <limits.h>
     
    67448509# include <assert.h>
    67458510#endif
     8511
     8512#undef dlopen
     8513
    67468514/* Override any gcc2 internal prototype to avoid an error.  */
    67478515#ifdef __cplusplus
     
    67748542rm -f conftest.$ac_objext conftest$ac_exeext
    67758543if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6776   (eval $ac_link) 2>&5
     8544  (eval $ac_link) 2>conftest.er1
     8545  ac_status=$?
     8546  grep -v '^ *+' conftest.er1 >conftest.err
     8547  rm -f conftest.er1
     8548  cat conftest.err >&5
     8549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8550  (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
    67778555  ac_status=$?
    67788556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6779   (exit $ac_status); } &&
    6780         { ac_try='test -s conftest$ac_exeext'
     8557  (exit $ac_status); }; } &&
     8558        { ac_try='test -s conftest$ac_exeext'
    67818559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    67828560  (eval $ac_try) 2>&5
     
    67918569ac_cv_func_dlopen=no
    67928570fi
    6793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8571rm -f conftest.err conftest.$ac_objext \
     8572      conftest$ac_exeext conftest.$ac_ext
    67948573fi
    67958574echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     
    68068585LIBS="-ldl  $LIBS"
    68078586cat >conftest.$ac_ext <<_ACEOF
    6808 #line $LINENO "configure"
    68098587/* confdefs.h.  */
    68108588_ACEOF
     
    68308608rm -f conftest.$ac_objext conftest$ac_exeext
    68318609if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6832   (eval $ac_link) 2>&5
     8610  (eval $ac_link) 2>conftest.er1
     8611  ac_status=$?
     8612  grep -v '^ *+' conftest.er1 >conftest.err
     8613  rm -f conftest.er1
     8614  cat conftest.err >&5
     8615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8616  (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
    68338621  ac_status=$?
    68348622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6835   (exit $ac_status); } &&
    6836         { ac_try='test -s conftest$ac_exeext'
     8623  (exit $ac_status); }; } &&
     8624        { ac_try='test -s conftest$ac_exeext'
    68378625  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    68388626  (eval $ac_try) 2>&5
     
    68478635ac_cv_lib_dl_dlopen=no
    68488636fi
    6849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8637rm -f conftest.err conftest.$ac_objext \
     8638      conftest$ac_exeext conftest.$ac_ext
    68508639LIBS=$ac_check_lib_save_LIBS
    68518640fi
     
    68638652LIBS="-lsvld  $LIBS"
    68648653cat >conftest.$ac_ext <<_ACEOF
    6865 #line $LINENO "configure"
    68668654/* confdefs.h.  */
    68678655_ACEOF
     
    68878675rm -f conftest.$ac_objext conftest$ac_exeext
    68888676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6889   (eval $ac_link) 2>&5
     8677  (eval $ac_link) 2>conftest.er1
     8678  ac_status=$?
     8679  grep -v '^ *+' conftest.er1 >conftest.err
     8680  rm -f conftest.er1
     8681  cat conftest.err >&5
     8682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8683  (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
    68908688  ac_status=$?
    68918689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6892   (exit $ac_status); } &&
    6893         { ac_try='test -s conftest$ac_exeext'
     8690  (exit $ac_status); }; } &&
     8691        { ac_try='test -s conftest$ac_exeext'
    68948692  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    68958693  (eval $ac_try) 2>&5
     
    69048702ac_cv_lib_svld_dlopen=no
    69058703fi
    6906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8704rm -f conftest.err conftest.$ac_objext \
     8705      conftest$ac_exeext conftest.$ac_ext
    69078706LIBS=$ac_check_lib_save_LIBS
    69088707fi
     
    69208719LIBS="-ldld  $LIBS"
    69218720cat >conftest.$ac_ext <<_ACEOF
    6922 #line $LINENO "configure"
    69238721/* confdefs.h.  */
    69248722_ACEOF
     
    69448742rm -f conftest.$ac_objext conftest$ac_exeext
    69458743if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6946   (eval $ac_link) 2>&5
     8744  (eval $ac_link) 2>conftest.er1
     8745  ac_status=$?
     8746  grep -v '^ *+' conftest.er1 >conftest.err
     8747  rm -f conftest.er1
     8748  cat conftest.err >&5
     8749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8750  (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
    69478755  ac_status=$?
    69488756  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6949   (exit $ac_status); } &&
    6950         { ac_try='test -s conftest$ac_exeext'
     8757  (exit $ac_status); }; } &&
     8758        { ac_try='test -s conftest$ac_exeext'
    69518759  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    69528760  (eval $ac_try) 2>&5
     
    69618769ac_cv_lib_dld_dld_link=no
    69628770fi
    6963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8771rm -f conftest.err conftest.$ac_objext \
     8772      conftest$ac_exeext conftest.$ac_ext
    69648773LIBS=$ac_check_lib_save_LIBS
    69658774fi
     
    69978806  dlopen)
    69988807    save_CPPFLAGS="$CPPFLAGS"
    6999         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     8808    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    70008809
    70018810    save_LDFLAGS="$LDFLAGS"
     
    70138822  lt_cv_dlopen_self=cross
    70148823else
    7015     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     8824  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    70168825  lt_status=$lt_dlunknown
    70178826  cat > conftest.$ac_ext <<EOF
    7018 #line 7018 "configure"
     8827#line 8827 "configure"
    70198828#include "confdefs.h"
    70208829
     
    71118920  lt_cv_dlopen_self_static=cross
    71128921else
    7113     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     8922  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    71148923  lt_status=$lt_dlunknown
    71158924  cat > conftest.$ac_ext <<EOF
    7116 #line 7116 "configure"
     8925#line 8925 "configure"
    71178926#include "confdefs.h"
    71188927
     
    72189027
    72199028
    7220 if 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.
     9029# Report which librarie types wil actually be built
     9030echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
     9031echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
     9032echo "$as_me:$LINENO: result: $can_build_shared" >&5
     9033echo "${ECHO_T}$can_build_shared" >&6
     9034
     9035echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
     9036echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
     9037test "$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.
     9041case "$host_os" in
     9042aix3*)
     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
     9050aix4* | 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'
     9065      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
     9074      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
    72249091    ;;
    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
    7230 echo $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
    7233 else
    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
    7261       else
    7262         lt_cv_archive_cmds_need_lc=yes
    7263       fi
    7264       allow_undefined_flag=$save_allow_undefined_flag
    7265     else
    7266       cat conftest.err 1>&5
    7267     fi
    7268 fi
    7269 
    7270     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
    7271 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
    7272     ;;
    7273   esac
    7274 fi
    7275 need_lc=${lt_cv_archive_cmds_need_lc-yes}
    7276 
    7277 # The second clause should only fire when bootstrapping the
     9092esac
     9093echo "$as_me:$LINENO: result: $enable_shared" >&5
     9094echo "${ECHO_T}$enable_shared" >&6
     9095
     9096echo "$as_me:$LINENO: checking whether to build static libraries" >&5
     9097echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
     9098# Make sure either enable_shared or enable_static is yes.
     9099test "$enable_shared" = yes || enable_static=yes
     9100echo "$as_me:$LINENO: result: $enable_static" >&5
     9101echo "${ECHO_T}$enable_static" >&6
     9102
     9103# The else clause should only fire when bootstrapping the
    72789104# libtool distribution, otherwise you forgot to ship ltmain.sh
    72799105# with your package, and you will get complaints that there are
    72809106# no rules to generate ltmain.sh.
    72819107if test -f "$ltmain"; then
    7282   :
    7283 else
    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"
    7288 fi
    7289 
    7290 if 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 
     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
    72969113  # Now quote all the things that may contain metacharacters while being
    72979114  # careful not to overquote the AC_SUBSTed values.  We take copies of the
    72989115  # variables and quote the copies for generation of the libtool script.
    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  \
     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 \
    73139123    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
    7314     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
     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
    73159160
    73169161    case $var in
    7317     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
     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 | \
     9171    postinstall_cmds | postuninstall_cmds | \
    73189172    old_postinstall_cmds | old_postuninstall_cmds | \
    7319     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
    7320     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
    7321     postinstall_cmds | postuninstall_cmds | \
    7322     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
     9173    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
    73239174      # Double-quote double-evaled strings.
    73249175      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
     
    73309181  done
    73319182
    7332   cat <<__EOF__ > "${ofile}T"
     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
     9189cfgfile="${ofile}T"
     9190  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
     9191  $rm -f "$cfgfile"
     9192  { echo "$as_me:$LINENO: creating $ofile" >&5
     9193echo "$as_me: creating $ofile" >&6;}
     9194
     9195  cat <<__EOF__ >> "$cfgfile"
    73339196#! $SHELL
    73349197
    7335 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
     9198# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    73369199# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
    73379200# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    73389201#
    7339 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
     9202# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
     9203# Free Software Foundation, Inc.
     9204#
     9205# This file is part of GNU Libtool:
    73409206# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
    73419207#
     
    73599225# the same distribution terms that you use for the rest of that program.
    73609226
    7361 # A sed that does not truncate output.
     9227# A sed program that does not truncate output.
    73629228SED=$lt_SED
    73639229
    73649230# Sed that helps us avoid accidentally triggering echo(1) options like -n.
    7365 Xsed="${SED} -e s/^X//"
     9231Xsed="$SED -e s/^X//"
    73669232
    73679233# The HP-UX ksh and POSIX shell print the target directory to stdout
     
    73699235if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
    73709236
     9237# The names of the tagged configurations supported by this script.
     9238available_tags=
     9239
    73719240# ### BEGIN LIBTOOL CONFIG
    73729241
     
    73839252
    73849253# Whether or not to add -lc for building shared libraries.
    7385 build_libtool_need_lc=$need_lc
     9254build_libtool_need_lc=$archive_cmds_need_lc
     9255
     9256# Whether or not to disallow shared libs when runtime libs are static
     9257allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
    73869258
    73879259# Whether or not to optimize for fast installation.
     
    73999271AR_FLAGS=$lt_AR_FLAGS
    74009272
    7401 # The default C compiler.
    7402 CC=$lt_CC
     9273# A C compiler.
     9274LTCC=$lt_LTCC
     9275
     9276# A language-specific compiler.
     9277CC=$lt_compiler
    74039278
    74049279# Is the compiler the GNU C compiler?
    74059280with_gcc=$GCC
    74069281
     9282# An ERE matcher.
     9283EGREP=$lt_EGREP
     9284
    74079285# The linker used to build libraries.
    74089286LD=$lt_LD
     
    74159293
    74169294# A symbol stripping program
    7417 STRIP=$STRIP
     9295STRIP=$lt_STRIP
    74189296
    74199297# Used to examine libraries when file_magic_cmd begins "file"
     
    74379315
    74389316# How to pass a linker flag through the compiler.
    7439 wl=$lt_wl
     9317wl=$lt_lt_prog_compiler_wl
    74409318
    74419319# Object file suffix (normally "o").
     
    74459323libext="$libext"
    74469324
     9325# Shared library suffix (normally ".so").
     9326shrext_cmds='$shrext_cmds'
     9327
    74479328# Executable file suffix (normally "").
    74489329exeext="$exeext"
    74499330
    74509331# Additional compiler flags for building library objects.
    7451 pic_flag=$lt_pic_flag
     9332pic_flag=$lt_lt_prog_compiler_pic
    74529333pic_mode=$pic_mode
    74539334
     9335# What is the maximum length of a command?
     9336max_cmd_len=$lt_cv_sys_max_cmd_len
     9337
    74549338# Does compiler simultaneously support -c and -o options?
    7455 compiler_c_o=$lt_compiler_c_o
    7456 
    7457 # Can we write directly to a .lo ?
    7458 compiler_o_lo=$lt_compiler_o_lo
     9339compiler_c_o=$lt_lt_cv_prog_compiler_c_o
    74599340
    74609341# Must we lock files when doing compilation ?
     
    74779358
    74789359# Compiler flag to prevent dynamic linking.
    7479 link_static_flag=$lt_link_static_flag
     9360link_static_flag=$lt_lt_prog_compiler_static
    74809361
    74819362# Compiler flag to turn off builtin functions.
    7482 no_builtin_flag=$lt_no_builtin_flag
     9363no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
    74839364
    74849365# Compiler flag to allow reflexive dlopens.
     
    75229403postuninstall_cmds=$lt_postuninstall_cmds
    75239404
     9405# Commands used to build a loadable module (assumed same as above if empty)
     9406module_cmds=$lt_module_cmds
     9407module_expsym_cmds=$lt_module_expsym_cmds
     9408
    75249409# Commands to strip libraries.
    75259410old_striplib=$lt_old_striplib
    75269411striplib=$lt_striplib
    75279412
     9413# Dependencies to place before the objects being linked to create a
     9414# shared library.
     9415predep_objects=$lt_predep_objects
     9416
     9417# Dependencies to place after the objects being linked to create a
     9418# shared library.
     9419postdep_objects=$lt_postdep_objects
     9420
     9421# Dependencies to place before the objects being linked to create a
     9422# shared library.
     9423predeps=$lt_predeps
     9424
     9425# Dependencies to place after the objects being linked to create a
     9426# shared library.
     9427postdeps=$lt_postdeps
     9428
     9429# The library search path used internally by the compiler when linking
     9430# a shared library.
     9431compiler_lib_search_path=$lt_compiler_lib_search_path
     9432
    75289433# Method to check whether dependent libraries are shared objects.
    75299434deplibs_check_method=$lt_deplibs_check_method
     
    75459450
    75469451# Take the output of nm and produce a listing of raw symbols and C names.
    7547 global_symbol_pipe=$lt_global_symbol_pipe
     9452global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    75489453
    75499454# Transform the output of nm in a proper C declaration
    7550 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
     9455global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    75519456
    75529457# Transform the output of nm in a C name address pair
    7553 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
     9458global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    75549459
    75559460# This is the shared library runtime path variable.
     
    75729477hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    75739478
     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.
     9482hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
     9483
    75749484# Whether we need a single -rpath flag with a separated argument.
    75759485hardcode_libdir_separator=$lt_hardcode_libdir_separator
    75769486
    7577 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
     9487# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
    75789488# resulting binary.
    75799489hardcode_direct=$hardcode_direct
     
    75879497hardcode_shlibpath_var=$hardcode_shlibpath_var
    75889498
     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.
     9501hardcode_automatic=$hardcode_automatic
     9502
    75899503# Variables whose values should be saved in libtool wrapper scripts and
    75909504# restored at relink time.
     
    76229536__EOF__
    76239537
     9538
    76249539  case $host_os in
    76259540  aix3*)
    7626     cat <<\EOF >> "${ofile}T"
     9541    cat <<\EOF >> "$cfgfile"
    76279542
    76289543# AIX sometimes has problems with the GCC collect2 program.  For some
     
    76379552  esac
    76389553
    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 
    7815 EOF
    7816     ;;
    7817   esac
    7818 
    78199554  # We use sed instead of cat because bash on DJGPP gets confused if
    78209555  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    78219556  # text mode, it properly converts lines to CR/LF.  This bash problem
    78229557  # is reportedly fixed, but why not run on old versions too?
    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")
     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")
    78279562  chmod +x "$ofile"
    7828 fi
    7829 
    7830 
     9563
     9564else
     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
     9572fi
     9573
     9574
     9575ac_ext=c
     9576ac_cpp='$CPP $CPPFLAGS'
     9577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     9578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9579ac_compiler_gnu=$ac_cv_c_compiler_gnu
     9580
     9581CC="$lt_save_CC"
     9582
     9583
     9584# Check whether --with-tags or --without-tags was given.
     9585if test "${with_tags+set}" = set; then
     9586  withval="$with_tags"
     9587  tagnames="$withval"
     9588fi;
     9589
     9590if 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
     9593echo "$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
     9600echo "$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
     9603echo "$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
     9618echo "$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
     9626echo "$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
     9638ac_cpp='$CXXCPP $CPPFLAGS'
     9639ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     9640ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9641ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     9642
     9643
     9644
     9645
     9646archive_cmds_need_lc_CXX=no
     9647allow_undefined_flag_CXX=
     9648always_export_symbols_CXX=no
     9649archive_expsym_cmds_CXX=
     9650export_dynamic_flag_spec_CXX=
     9651hardcode_direct_CXX=no
     9652hardcode_libdir_flag_spec_CXX=
     9653hardcode_libdir_flag_spec_ld_CXX=
     9654hardcode_libdir_separator_CXX=
     9655hardcode_minus_L_CXX=no
     9656hardcode_automatic_CXX=no
     9657module_cmds_CXX=
     9658module_expsym_cmds_CXX=
     9659link_all_deplibs_CXX=unknown
     9660old_archive_cmds_CXX=$old_archive_cmds
     9661no_undefined_flag_CXX=
     9662whole_archive_flag_spec_CXX=
     9663enable_shared_with_static_runtimes_CXX=no
     9664
     9665# Dependencies to place before and after the object being linked:
     9666predep_objects_CXX=
     9667postdep_objects_CXX=
     9668predeps_CXX=
     9669postdeps_CXX=
     9670compiler_lib_search_path_CXX=
     9671
     9672# Source file extension for C++ test sources.
     9673ac_ext=cc
     9674
     9675# Object file extension for compiled C++ test sources.
     9676objext=o
     9677objext_CXX=$objext
     9678
     9679# Code to be used in simple compile tests
     9680lt_simple_compile_test_code="int some_variable = 0;\n"
     9681
     9682# Code to be used in simple link tests
     9683lt_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.
     9688LTCC=${LTCC-"$CC"}
     9689
     9690# Allow CC to be a program name with arguments.
     9691compiler=$CC
     9692
     9693
     9694# Allow CC to be a program name with arguments.
     9695lt_save_CC=$CC
     9696lt_save_LD=$LD
     9697lt_save_GCC=$GCC
     9698GCC=$GXX
     9699lt_save_with_gnu_ld=$with_gnu_ld
     9700lt_save_path_LD=$lt_cv_path_LD
     9701if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
     9702  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
     9703else
     9704  unset lt_cv_prog_gnu_ld
     9705fi
     9706if test -n "${lt_cv_path_LDCXX+set}"; then
     9707  lt_cv_path_LD=$lt_cv_path_LDCXX
     9708else
     9709  unset lt_cv_path_LD
     9710fi
     9711test -z "${LDCXX+set}" || LD=$LDCXX
     9712CC=${CXX-"c++"}
     9713compiler=$CC
     9714compiler_CXX=$CC
     9715cc_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
     9719if test "$GXX" = yes; then
     9720  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
     9721else
     9722  lt_prog_compiler_no_builtin_flag_CXX=
     9723fi
     9724
     9725if 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.
     9730if test "${with_gnu_ld+set}" = set; then
     9731  withval="$with_gnu_ld"
     9732  test "$withval" = no || with_gnu_ld=yes
     9733else
     9734  with_gnu_ld=no
     9735fi;
     9736ac_prog=ld
     9737if 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
     9740echo $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
     9768elif test "$with_gnu_ld" = yes; then
     9769  echo "$as_me:$LINENO: checking for GNU ld" >&5
     9770echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
     9771else
     9772  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
     9773echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
     9774fi
     9775if test "${lt_cv_path_LD+set}" = set; then
     9776  echo $ECHO_N "(cached) $ECHO_C" >&6
     9777else
     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"
     9799else
     9800  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     9801fi
     9802fi
     9803
     9804LD="$lt_cv_path_LD"
     9805if test -n "$LD"; then
     9806  echo "$as_me:$LINENO: result: $LD" >&5
     9807echo "${ECHO_T}$LD" >&6
     9808else
     9809  echo "$as_me:$LINENO: result: no" >&5
     9810echo "${ECHO_T}no" >&6
     9811fi
     9812test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
     9813echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
     9814   { (exit 1); exit 1; }; }
     9815echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
     9816echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
     9817if test "${lt_cv_prog_gnu_ld+set}" = set; then
     9818  echo $ECHO_N "(cached) $ECHO_C" >&6
     9819else
     9820  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
     9821case `$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  ;;
     9828esac
     9829fi
     9830echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
     9831echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
     9832with_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
     9874else
     9875  GXX=no
     9876  with_gnu_ld=no
     9877  wlarc=
     9878fi
     9879
     9880# PORTME: fill in a description of your system's C++ link characteristics
     9881echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     9882echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
     9883ld_shlibs_CXX=yes
     9884case $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
     9976cat confdefs.h >>conftest.$ac_ext
     9977cat >>conftest.$ac_ext <<_ACEOF
     9978/* end confdefs.h.  */
     9979
     9980int
     9981main ()
     9982{
     9983
     9984  ;
     9985  return 0;
     9986}
     9987_ACEOF
     9988rm -f conftest.$ac_objext conftest$ac_exeext
     9989if { (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
     10011aix_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.
     10014if 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
     10016else
     10017  echo "$as_me: failed program was:" >&5
     10018sed 's/^/| /' conftest.$ac_ext >&5
     10019
     10020fi
     10021rm -f conftest.err conftest.$ac_objext \
     10022      conftest$ac_exeext conftest.$ac_ext
     10023if 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
     10038cat confdefs.h >>conftest.$ac_ext
     10039cat >>conftest.$ac_ext <<_ACEOF
     10040/* end confdefs.h.  */
     10041
     10042int
     10043main ()
     10044{
     10045
     10046  ;
     10047  return 0;
     10048}
     10049_ACEOF
     10050rm -f conftest.$ac_objext conftest$ac_exeext
     10051if { (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
     10073aix_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.
     10076if 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
     10078else
     10079  echo "$as_me: failed program was:" >&5
     10080sed 's/^/| /' conftest.$ac_ext >&5
     10081
     10082fi
     10083rm -f conftest.err conftest.$ac_objext \
     10084      conftest$ac_exeext conftest.$ac_ext
     10085if 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    ;;
     10708esac
     10709echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
     10710echo "${ECHO_T}$ld_shlibs_CXX" >&6
     10711test "$ld_shlibs_CXX" = no && can_build_shared=no
     10712
     10713GCC_CXX="$GXX"
     10714LD_CXX="$LD"
     10715
     10716
     10717cat > conftest.$ac_ext <<EOF
     10718class Foo
     10719{
     10720public:
     10721  Foo (void) { a = 0; }
     10722private:
     10723  int a;
     10724};
     10725EOF
     10726
     10727if { (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
     10812else
     10813  echo "libtool.m4: error: problem compiling CXX test program"
     10814fi
     10815
     10816$rm -f confest.$objext
     10817
     10818case " $postdeps_CXX " in
     10819*" -lc "*) archive_cmds_need_lc_CXX=no ;;
     10820esac
     10821
     10822lt_prog_compiler_wl_CXX=
     10823lt_prog_compiler_pic_CXX=
     10824lt_prog_compiler_static_CXX=
     10825
     10826echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
     10827echo $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
     11078echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
     11079echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
     11080
     11081#
     11082# Check to make sure the PIC flag actually works.
     11083#
     11084if test -n "$lt_prog_compiler_pic_CXX"; then
     11085
     11086echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
     11087echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
     11088if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
     11089  echo $ECHO_N "(cached) $ECHO_C" >&6
     11090else
     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
     11118fi
     11119echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
     11120echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
     11121
     11122if 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
     11127else
     11128    lt_prog_compiler_pic_CXX=
     11129     lt_prog_compiler_can_build_shared_CXX=no
     11130fi
     11131
     11132fi
     11133case "$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    ;;
     11141esac
     11142
     11143echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
     11144echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
     11145if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
     11146  echo $ECHO_N "(cached) $ECHO_C" >&6
     11147else
     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
     11187fi
     11188echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     11189echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
     11190
     11191
     11192hard_links="nottested"
     11193if 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
     11196echo $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
     11204echo "${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
     11207echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     11208    need_locks=warn
     11209  fi
     11210else
     11211  need_locks=no
     11212fi
     11213
     11214echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     11215echo $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
     11239echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
     11240echo "${ECHO_T}$ld_shlibs_CXX" >&6
     11241test "$ld_shlibs_CXX" = no && can_build_shared=no
     11242
     11243variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     11244if test "$GCC" = yes; then
     11245  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     11246fi
     11247
     11248#
     11249# Do we need to explicitly link libc?
     11250#
     11251case "x$archive_cmds_need_lc_CXX" in
     11252x|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
     11266echo $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
     11303echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
     11304      ;;
     11305    esac
     11306  fi
     11307  ;;
     11308esac
     11309
     11310echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
     11311echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     11312library_names_spec=
     11313libname_spec='lib$name'
     11314soname_spec=
     11315shrext_cmds=".so"
     11316postinstall_cmds=
     11317postuninstall_cmds=
     11318finish_cmds=
     11319finish_eval=
     11320shlibpath_var=
     11321shlibpath_overrides_runpath=unknown
     11322version_type=none
     11323dynamic_linker="$host_os ld.so"
     11324sys_lib_dlsearch_path_spec="/lib /usr/lib"
     11325if 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
     11336else
     11337  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     11338fi
     11339need_lib_prefix=unknown
     11340hardcode_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
     11344need_version=unknown
     11345
     11346case $host_os in
     11347aix3*)
     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
     11356aix4* | 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
     11400amigaos*)
     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
     11406beos*)
     11407  library_names_spec='${libname}${shared_ext}'
     11408  dynamic_linker="$host_os ld.so"
     11409  shlibpath_var=LIBRARY_PATH
     11410  ;;
     11411
     11412bsdi4*)
     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
     11426cygwin* | 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
     11484darwin* | 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
     11503dgux*)
     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
     11512freebsd1*)
     11513  dynamic_linker=no
     11514  ;;
     11515
     11516kfreebsd*-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
     11528freebsd*)
     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
     11558gnu*)
     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
     11568hpux9* | 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
     11614irix5* | 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.
     11652linux*oldld* | linux*aout* | linux*coff*)
     11653  dynamic_linker=no
     11654  ;;
     11655
     11656# This must be Linux ELF.
     11657linux*)
     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
     11707knetbsd*-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
     11719netbsd*)
     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
     11737newsos6)
     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
     11744nto-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
     11754openbsd*)
     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
     11775os2*)
     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
     11784osf3* | 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
     11795sco3.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
     11802solaris*)
     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
     11815sunos4*)
     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
     11827sysv4 | 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
     11851sysv4*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
     11860uts4*)
     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  ;;
     11870esac
     11871echo "$as_me:$LINENO: result: $dynamic_linker" >&5
     11872echo "${ECHO_T}$dynamic_linker" >&6
     11873test "$dynamic_linker" = no && can_build_shared=no
     11874
     11875echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
     11876echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     11877hardcode_action_CXX=
     11878if 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
     11895else
     11896  # We cannot hardcode anything, or else we can only hardcode existing
     11897  # directories.
     11898  hardcode_action_CXX=unsupported
     11899fi
     11900echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
     11901echo "${ECHO_T}$hardcode_action_CXX" >&6
     11902
     11903if test "$hardcode_action_CXX" = relink; then
     11904  # Fast installation is not supported
     11905  enable_fast_install=no
     11906elif test "$shlibpath_overrides_runpath" = yes ||
     11907     test "$enable_shared" = no; then
     11908  # Fast installation is not necessary
     11909  enable_fast_install=needless
     11910fi
     11911
     11912striplib=
     11913old_striplib=
     11914echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
     11915echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
     11916if 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
     11920echo "${ECHO_T}yes" >&6
     11921else
     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
     11928echo "${ECHO_T}yes" >&6
     11929       else
     11930  echo "$as_me:$LINENO: result: no" >&5
     11931echo "${ECHO_T}no" >&6
     11932fi
     11933       ;;
     11934   *)
     11935  echo "$as_me:$LINENO: result: no" >&5
     11936echo "${ECHO_T}no" >&6
     11937    ;;
     11938  esac
     11939fi
     11940
     11941if test "x$enable_dlopen" != xyes; then
     11942  enable_dlopen=unknown
     11943  enable_dlopen_self=unknown
     11944  enable_dlopen_self_static=unknown
     11945else
     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
     11969echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     11970if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     11971  echo $ECHO_N "(cached) $ECHO_C" >&6
     11972else
     11973  ac_check_lib_save_LIBS=$LIBS
     11974LIBS="-ldl  $LIBS"
     11975cat >conftest.$ac_ext <<_ACEOF
     11976/* confdefs.h.  */
     11977_ACEOF
     11978cat confdefs.h >>conftest.$ac_ext
     11979cat >>conftest.$ac_ext <<_ACEOF
     11980/* end confdefs.h.  */
     11981
     11982/* Override any gcc2 internal prototype to avoid an error.  */
     11983#ifdef __cplusplus
     11984extern "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.  */
     11988char dlopen ();
     11989int
     11990main ()
     11991{
     11992dlopen ();
     11993  ;
     11994  return 0;
     11995}
     11996_ACEOF
     11997rm -f conftest.$ac_objext conftest$ac_exeext
     11998if { (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
     12020else
     12021  echo "$as_me: failed program was:" >&5
     12022sed 's/^/| /' conftest.$ac_ext >&5
     12023
     12024ac_cv_lib_dl_dlopen=no
     12025fi
     12026rm -f conftest.err conftest.$ac_objext \
     12027      conftest$ac_exeext conftest.$ac_ext
     12028LIBS=$ac_check_lib_save_LIBS
     12029fi
     12030echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     12031echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
     12032if test $ac_cv_lib_dl_dlopen = yes; then
     12033  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     12034else
     12035
     12036    lt_cv_dlopen="dyld"
     12037    lt_cv_dlopen_libs=
     12038    lt_cv_dlopen_self=yes
     12039
     12040fi
     12041
     12042   ;;
     12043
     12044  *)
     12045    echo "$as_me:$LINENO: checking for shl_load" >&5
     12046echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
     12047if test "${ac_cv_func_shl_load+set}" = set; then
     12048  echo $ECHO_N "(cached) $ECHO_C" >&6
     12049else
     12050  cat >conftest.$ac_ext <<_ACEOF
     12051/* confdefs.h.  */
     12052_ACEOF
     12053cat confdefs.h >>conftest.$ac_ext
     12054cat >>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
     12075extern "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.  */
     12080char 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)
     12085choke me
     12086#else
     12087char (*f) () = shl_load;
     12088#endif
     12089#ifdef __cplusplus
     12090}
     12091#endif
     12092
     12093int
     12094main ()
     12095{
     12096return f != shl_load;
     12097  ;
     12098  return 0;
     12099}
     12100_ACEOF
     12101rm -f conftest.$ac_objext conftest$ac_exeext
     12102if { (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
     12124else
     12125  echo "$as_me: failed program was:" >&5
     12126sed 's/^/| /' conftest.$ac_ext >&5
     12127
     12128ac_cv_func_shl_load=no
     12129fi
     12130rm -f conftest.err conftest.$ac_objext \
     12131      conftest$ac_exeext conftest.$ac_ext
     12132fi
     12133echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     12134echo "${ECHO_T}$ac_cv_func_shl_load" >&6
     12135if test $ac_cv_func_shl_load = yes; then
     12136  lt_cv_dlopen="shl_load"
     12137else
     12138  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     12139echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
     12140if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     12141  echo $ECHO_N "(cached) $ECHO_C" >&6
     12142else
     12143  ac_check_lib_save_LIBS=$LIBS
     12144LIBS="-ldld  $LIBS"
     12145cat >conftest.$ac_ext <<_ACEOF
     12146/* confdefs.h.  */
     12147_ACEOF
     12148cat confdefs.h >>conftest.$ac_ext
     12149cat >>conftest.$ac_ext <<_ACEOF
     12150/* end confdefs.h.  */
     12151
     12152/* Override any gcc2 internal prototype to avoid an error.  */
     12153#ifdef __cplusplus
     12154extern "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.  */
     12158char shl_load ();
     12159int
     12160main ()
     12161{
     12162shl_load ();
     12163  ;
     12164  return 0;
     12165}
     12166_ACEOF
     12167rm -f conftest.$ac_objext conftest$ac_exeext
     12168if { (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
     12190else
     12191  echo "$as_me: failed program was:" >&5
     12192sed 's/^/| /' conftest.$ac_ext >&5
     12193
     12194ac_cv_lib_dld_shl_load=no
     12195fi
     12196rm -f conftest.err conftest.$ac_objext \
     12197      conftest$ac_exeext conftest.$ac_ext
     12198LIBS=$ac_check_lib_save_LIBS
     12199fi
     12200echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     12201echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
     12202if test $ac_cv_lib_dld_shl_load = yes; then
     12203  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
     12204else
     12205  echo "$as_me:$LINENO: checking for dlopen" >&5
     12206echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
     12207if test "${ac_cv_func_dlopen+set}" = set; then
     12208  echo $ECHO_N "(cached) $ECHO_C" >&6
     12209else
     12210  cat >conftest.$ac_ext <<_ACEOF
     12211/* confdefs.h.  */
     12212_ACEOF
     12213cat confdefs.h >>conftest.$ac_ext
     12214cat >>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
     12235extern "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.  */
     12240char 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)
     12245choke me
     12246#else
     12247char (*f) () = dlopen;
     12248#endif
     12249#ifdef __cplusplus
     12250}
     12251#endif
     12252
     12253int
     12254main ()
     12255{
     12256return f != dlopen;
     12257  ;
     12258  return 0;
     12259}
     12260_ACEOF
     12261rm -f conftest.$ac_objext conftest$ac_exeext
     12262if { (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
     12284else
     12285  echo "$as_me: failed program was:" >&5
     12286sed 's/^/| /' conftest.$ac_ext >&5
     12287
     12288ac_cv_func_dlopen=no
     12289fi
     12290rm -f conftest.err conftest.$ac_objext \
     12291      conftest$ac_exeext conftest.$ac_ext
     12292fi
     12293echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     12294echo "${ECHO_T}$ac_cv_func_dlopen" >&6
     12295if test $ac_cv_func_dlopen = yes; then
     12296  lt_cv_dlopen="dlopen"
     12297else
     12298  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     12299echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     12300if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     12301  echo $ECHO_N "(cached) $ECHO_C" >&6
     12302else
     12303  ac_check_lib_save_LIBS=$LIBS
     12304LIBS="-ldl  $LIBS"
     12305cat >conftest.$ac_ext <<_ACEOF
     12306/* confdefs.h.  */
     12307_ACEOF
     12308cat confdefs.h >>conftest.$ac_ext
     12309cat >>conftest.$ac_ext <<_ACEOF
     12310/* end confdefs.h.  */
     12311
     12312/* Override any gcc2 internal prototype to avoid an error.  */
     12313#ifdef __cplusplus
     12314extern "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.  */
     12318char dlopen ();
     12319int
     12320main ()
     12321{
     12322dlopen ();
     12323  ;
     12324  return 0;
     12325}
     12326_ACEOF
     12327rm -f conftest.$ac_objext conftest$ac_exeext
     12328if { (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
     12350else
     12351  echo "$as_me: failed program was:" >&5
     12352sed 's/^/| /' conftest.$ac_ext >&5
     12353
     12354ac_cv_lib_dl_dlopen=no
     12355fi
     12356rm -f conftest.err conftest.$ac_objext \
     12357      conftest$ac_exeext conftest.$ac_ext
     12358LIBS=$ac_check_lib_save_LIBS
     12359fi
     12360echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     12361echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
     12362if test $ac_cv_lib_dl_dlopen = yes; then
     12363  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     12364else
     12365  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
     12366echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
     12367if test "${ac_cv_lib_svld_dlopen+set}" = set; then
     12368  echo $ECHO_N "(cached) $ECHO_C" >&6
     12369else
     12370  ac_check_lib_save_LIBS=$LIBS
     12371LIBS="-lsvld  $LIBS"
     12372cat >conftest.$ac_ext <<_ACEOF
     12373/* confdefs.h.  */
     12374_ACEOF
     12375cat confdefs.h >>conftest.$ac_ext
     12376cat >>conftest.$ac_ext <<_ACEOF
     12377/* end confdefs.h.  */
     12378
     12379/* Override any gcc2 internal prototype to avoid an error.  */
     12380#ifdef __cplusplus
     12381extern "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.  */
     12385char dlopen ();
     12386int
     12387main ()
     12388{
     12389dlopen ();
     12390  ;
     12391  return 0;
     12392}
     12393_ACEOF
     12394rm -f conftest.$ac_objext conftest$ac_exeext
     12395if { (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
     12417else
     12418  echo "$as_me: failed program was:" >&5
     12419sed 's/^/| /' conftest.$ac_ext >&5
     12420
     12421ac_cv_lib_svld_dlopen=no
     12422fi
     12423rm -f conftest.err conftest.$ac_objext \
     12424      conftest$ac_exeext conftest.$ac_ext
     12425LIBS=$ac_check_lib_save_LIBS
     12426fi
     12427echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
     12428echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
     12429if test $ac_cv_lib_svld_dlopen = yes; then
     12430  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
     12431else
     12432  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
     12433echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
     12434if test "${ac_cv_lib_dld_dld_link+set}" = set; then
     12435  echo $ECHO_N "(cached) $ECHO_C" >&6
     12436else
     12437  ac_check_lib_save_LIBS=$LIBS
     12438LIBS="-ldld  $LIBS"
     12439cat >conftest.$ac_ext <<_ACEOF
     12440/* confdefs.h.  */
     12441_ACEOF
     12442cat confdefs.h >>conftest.$ac_ext
     12443cat >>conftest.$ac_ext <<_ACEOF
     12444/* end confdefs.h.  */
     12445
     12446/* Override any gcc2 internal prototype to avoid an error.  */
     12447#ifdef __cplusplus
     12448extern "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.  */
     12452char dld_link ();
     12453int
     12454main ()
     12455{
     12456dld_link ();
     12457  ;
     12458  return 0;
     12459}
     12460_ACEOF
     12461rm -f conftest.$ac_objext conftest$ac_exeext
     12462if { (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
     12484else
     12485  echo "$as_me: failed program was:" >&5
     12486sed 's/^/| /' conftest.$ac_ext >&5
     12487
     12488ac_cv_lib_dld_dld_link=no
     12489fi
     12490rm -f conftest.err conftest.$ac_objext \
     12491      conftest$ac_exeext conftest.$ac_ext
     12492LIBS=$ac_check_lib_save_LIBS
     12493fi
     12494echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
     12495echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
     12496if test $ac_cv_lib_dld_dld_link = yes; then
     12497  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
     12498fi
     12499
     12500
     12501fi
     12502
     12503
     12504fi
     12505
     12506
     12507fi
     12508
     12509
     12510fi
     12511
     12512
     12513fi
     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
     12536echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
     12537if test "${lt_cv_dlopen_self+set}" = set; then
     12538  echo $ECHO_N "(cached) $ECHO_C" >&6
     12539else
     12540          if test "$cross_compiling" = yes; then :
     12541  lt_cv_dlopen_self=cross
     12542else
     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
     12588extern "C" void exit (int);
     12589#endif
     12590
     12591void fnord() { int i=42;}
     12592int 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}
     12606EOF
     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
     12623fi
     12624rm -fr conftest*
     12625
     12626
     12627fi
     12628echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
     12629echo "${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
     12634echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
     12635if test "${lt_cv_dlopen_self_static+set}" = set; then
     12636  echo $ECHO_N "(cached) $ECHO_C" >&6
     12637else
     12638          if test "$cross_compiling" = yes; then :
     12639  lt_cv_dlopen_self_static=cross
     12640else
     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
     12686extern "C" void exit (int);
     12687#endif
     12688
     12689void fnord() { int i=42;}
     12690int 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}
     12704EOF
     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
     12721fi
     12722rm -fr conftest*
     12723
     12724
     12725fi
     12726echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
     12727echo "${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
     12745fi
     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.
     12752if 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
     12834cfgfile="$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.
     12842SHELL=$lt_SHELL
     12843
     12844# Whether or not to build shared libraries.
     12845build_libtool_libs=$enable_shared
     12846
     12847# Whether or not to build static libraries.
     12848build_old_libs=$enable_static
     12849
     12850# Whether or not to add -lc for building shared libraries.
     12851build_libtool_need_lc=$archive_cmds_need_lc_CXX
     12852
     12853# Whether or not to disallow shared libs when runtime libs are static
     12854allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
     12855
     12856# Whether or not to optimize for fast installation.
     12857fast_install=$enable_fast_install
     12858
     12859# The host system.
     12860host_alias=$host_alias
     12861host=$host
     12862
     12863# An echo program that does not interpret backslashes.
     12864echo=$lt_echo
     12865
     12866# The archiver.
     12867AR=$lt_AR
     12868AR_FLAGS=$lt_AR_FLAGS
     12869
     12870# A C compiler.
     12871LTCC=$lt_LTCC
     12872
     12873# A language-specific compiler.
     12874CC=$lt_compiler_CXX
     12875
     12876# Is the compiler the GNU C compiler?
     12877with_gcc=$GCC_CXX
     12878
     12879# An ERE matcher.
     12880EGREP=$lt_EGREP
     12881
     12882# The linker used to build libraries.
     12883LD=$lt_LD_CXX
     12884
     12885# Whether we need hard or soft links.
     12886LN_S=$lt_LN_S
     12887
     12888# A BSD-compatible nm program.
     12889NM=$lt_NM
     12890
     12891# A symbol stripping program
     12892STRIP=$lt_STRIP
     12893
     12894# Used to examine libraries when file_magic_cmd begins "file"
     12895MAGIC_CMD=$MAGIC_CMD
     12896
     12897# Used on cygwin: DLL creation program.
     12898DLLTOOL="$DLLTOOL"
     12899
     12900# Used on cygwin: object dumper.
     12901OBJDUMP="$OBJDUMP"
     12902
     12903# Used on cygwin: assembler.
     12904AS="$AS"
     12905
     12906# The name of the directory that contains temporary libtool files.
     12907objdir=$objdir
     12908
     12909# How to create reloadable object files.
     12910reload_flag=$lt_reload_flag
     12911reload_cmds=$lt_reload_cmds
     12912
     12913# How to pass a linker flag through the compiler.
     12914wl=$lt_lt_prog_compiler_wl_CXX
     12915
     12916# Object file suffix (normally "o").
     12917objext="$ac_objext"
     12918
     12919# Old archive suffix (normally "a").
     12920libext="$libext"
     12921
     12922# Shared library suffix (normally ".so").
     12923shrext_cmds='$shrext_cmds'
     12924
     12925# Executable file suffix (normally "").
     12926exeext="$exeext"
     12927
     12928# Additional compiler flags for building library objects.
     12929pic_flag=$lt_lt_prog_compiler_pic_CXX
     12930pic_mode=$pic_mode
     12931
     12932# What is the maximum length of a command?
     12933max_cmd_len=$lt_cv_sys_max_cmd_len
     12934
     12935# Does compiler simultaneously support -c and -o options?
     12936compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
     12937
     12938# Must we lock files when doing compilation ?
     12939need_locks=$lt_need_locks
     12940
     12941# Do we need the lib prefix for modules?
     12942need_lib_prefix=$need_lib_prefix
     12943
     12944# Do we need a version for libraries?
     12945need_version=$need_version
     12946
     12947# Whether dlopen is supported.
     12948dlopen_support=$enable_dlopen
     12949
     12950# Whether dlopen of programs is supported.
     12951dlopen_self=$enable_dlopen_self
     12952
     12953# Whether dlopen of statically linked programs is supported.
     12954dlopen_self_static=$enable_dlopen_self_static
     12955
     12956# Compiler flag to prevent dynamic linking.
     12957link_static_flag=$lt_lt_prog_compiler_static_CXX
     12958
     12959# Compiler flag to turn off builtin functions.
     12960no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
     12961
     12962# Compiler flag to allow reflexive dlopens.
     12963export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
     12964
     12965# Compiler flag to generate shared objects directly from archives.
     12966whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
     12967
     12968# Compiler flag to generate thread-safe objects.
     12969thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
     12970
     12971# Library versioning type.
     12972version_type=$version_type
     12973
     12974# Format of library name prefix.
     12975libname_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.
     12979library_names_spec=$lt_library_names_spec
     12980
     12981# The coded name of the library, if different from the real name.
     12982soname_spec=$lt_soname_spec
     12983
     12984# Commands used to build and install an old-style archive.
     12985RANLIB=$lt_RANLIB
     12986old_archive_cmds=$lt_old_archive_cmds_CXX
     12987old_postinstall_cmds=$lt_old_postinstall_cmds
     12988old_postuninstall_cmds=$lt_old_postuninstall_cmds
     12989
     12990# Create an old-style archive from a shared archive.
     12991old_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.
     12994old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
     12995
     12996# Commands used to build and install a shared archive.
     12997archive_cmds=$lt_archive_cmds_CXX
     12998archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
     12999postinstall_cmds=$lt_postinstall_cmds
     13000postuninstall_cmds=$lt_postuninstall_cmds
     13001
     13002# Commands used to build a loadable module (assumed same as above if empty)
     13003module_cmds=$lt_module_cmds_CXX
     13004module_expsym_cmds=$lt_module_expsym_cmds_CXX
     13005
     13006# Commands to strip libraries.
     13007old_striplib=$lt_old_striplib
     13008striplib=$lt_striplib
     13009
     13010# Dependencies to place before the objects being linked to create a
     13011# shared library.
     13012predep_objects=$lt_predep_objects_CXX
     13013
     13014# Dependencies to place after the objects being linked to create a
     13015# shared library.
     13016postdep_objects=$lt_postdep_objects_CXX
     13017
     13018# Dependencies to place before the objects being linked to create a
     13019# shared library.
     13020predeps=$lt_predeps_CXX
     13021
     13022# Dependencies to place after the objects being linked to create a
     13023# shared library.
     13024postdeps=$lt_postdeps_CXX
     13025
     13026# The library search path used internally by the compiler when linking
     13027# a shared library.
     13028compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
     13029
     13030# Method to check whether dependent libraries are shared objects.
     13031deplibs_check_method=$lt_deplibs_check_method
     13032
     13033# Command to use when deplibs_check_method == file_magic.
     13034file_magic_cmd=$lt_file_magic_cmd
     13035
     13036# Flag that allows shared libraries with undefined symbols to be built.
     13037allow_undefined_flag=$lt_allow_undefined_flag_CXX
     13038
     13039# Flag that forces no undefined symbols.
     13040no_undefined_flag=$lt_no_undefined_flag_CXX
     13041
     13042# Commands used to finish a libtool library installation in a directory.
     13043finish_cmds=$lt_finish_cmds
     13044
     13045# Same as above, but a single script fragment to be evaled but not shown.
     13046finish_eval=$lt_finish_eval
     13047
     13048# Take the output of nm and produce a listing of raw symbols and C names.
     13049global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     13050
     13051# Transform the output of nm in a proper C declaration
     13052global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     13053
     13054# Transform the output of nm in a C name address pair
     13055global_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.
     13058runpath_var=$runpath_var
     13059
     13060# This is the shared library path variable.
     13061shlibpath_var=$shlibpath_var
     13062
     13063# Is shlibpath searched before the hard-coded library search path?
     13064shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     13065
     13066# How to hardcode a shared library path into an executable.
     13067hardcode_action=$hardcode_action_CXX
     13068
     13069# Whether we should hardcode library paths into libraries.
     13070hardcode_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.
     13074hardcode_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.
     13079hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
     13080
     13081# Whether we need a single -rpath flag with a separated argument.
     13082hardcode_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.
     13086hardcode_direct=$hardcode_direct_CXX
     13087
     13088# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
     13089# resulting binary.
     13090hardcode_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.
     13094hardcode_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.
     13098hardcode_automatic=$hardcode_automatic_CXX
     13099
     13100# Variables whose values should be saved in libtool wrapper scripts and
     13101# restored at relink time.
     13102variables_saved_for_relink="$variables_saved_for_relink"
     13103
     13104# Whether libtool must link a program against all its dependency libraries.
     13105link_all_deplibs=$link_all_deplibs_CXX
     13106
     13107# Compile-time system search path for libraries
     13108sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     13109
     13110# Run-time system search path for libraries
     13111sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     13112
     13113# Fix the shell variable \$srcfile for the compiler.
     13114fix_srcfile_path="$fix_srcfile_path_CXX"
     13115
     13116# Set to yes if exported symbols are required.
     13117always_export_symbols=$always_export_symbols_CXX
     13118
     13119# The commands to list exported symbols.
     13120export_symbols_cmds=$lt_export_symbols_cmds_CXX
     13121
     13122# The commands to extract the exported symbol list from a shared archive.
     13123extract_expsyms_cmds=$lt_extract_expsyms_cmds
     13124
     13125# Symbols that should not be listed in the preloaded symbols.
     13126exclude_expsyms=$lt_exclude_expsyms_CXX
     13127
     13128# Symbols that must always be exported.
     13129include_expsyms=$lt_include_expsyms_CXX
     13130
     13131# ### END LIBTOOL TAG CONFIG: $tagname
     13132
     13133__EOF__
     13134
     13135
     13136else
     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
     13144fi
     13145
     13146
     13147ac_ext=c
     13148ac_cpp='$CPP $CPPFLAGS'
     13149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13151ac_compiler_gnu=$ac_cv_c_compiler_gnu
     13152
     13153CC=$lt_save_CC
     13154LDCXX=$LD
     13155LD=$lt_save_LD
     13156GCC=$lt_save_GCC
     13157with_gnu_ldcxx=$with_gnu_ld
     13158with_gnu_ld=$lt_save_with_gnu_ld
     13159lt_cv_path_LDCXX=$lt_cv_path_LD
     13160lt_cv_path_LD=$lt_save_path_LD
     13161lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
     13162lt_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
     13172ac_ext=f
     13173ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     13174ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13175ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     13176
     13177
     13178archive_cmds_need_lc_F77=no
     13179allow_undefined_flag_F77=
     13180always_export_symbols_F77=no
     13181archive_expsym_cmds_F77=
     13182export_dynamic_flag_spec_F77=
     13183hardcode_direct_F77=no
     13184hardcode_libdir_flag_spec_F77=
     13185hardcode_libdir_flag_spec_ld_F77=
     13186hardcode_libdir_separator_F77=
     13187hardcode_minus_L_F77=no
     13188hardcode_automatic_F77=no
     13189module_cmds_F77=
     13190module_expsym_cmds_F77=
     13191link_all_deplibs_F77=unknown
     13192old_archive_cmds_F77=$old_archive_cmds
     13193no_undefined_flag_F77=
     13194whole_archive_flag_spec_F77=
     13195enable_shared_with_static_runtimes_F77=no
     13196
     13197# Source file extension for f77 test sources.
     13198ac_ext=f
     13199
     13200# Object file extension for compiled f77 test sources.
     13201objext=o
     13202objext_F77=$objext
     13203
     13204# Code to be used in simple compile tests
     13205lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
     13206
     13207# Code to be used in simple link tests
     13208lt_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.
     13213LTCC=${LTCC-"$CC"}
     13214
     13215# Allow CC to be a program name with arguments.
     13216compiler=$CC
     13217
     13218
     13219# Allow CC to be a program name with arguments.
     13220lt_save_CC="$CC"
     13221CC=${F77-"f77"}
     13222compiler=$CC
     13223compiler_F77=$CC
     13224cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
     13225
     13226echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
     13227echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
     13228echo "$as_me:$LINENO: result: $can_build_shared" >&5
     13229echo "${ECHO_T}$can_build_shared" >&6
     13230
     13231echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
     13232echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
     13233test "$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.
     13237case "$host_os" in
     13238aix3*)
     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  ;;
     13245aix4* | aix5*)
     13246  test "$enable_shared" = yes && enable_static=no
     13247  ;;
     13248esac
     13249echo "$as_me:$LINENO: result: $enable_shared" >&5
     13250echo "${ECHO_T}$enable_shared" >&6
     13251
     13252echo "$as_me:$LINENO: checking whether to build static libraries" >&5
     13253echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
     13254# Make sure either enable_shared or enable_static is yes.
     13255test "$enable_shared" = yes || enable_static=yes
     13256echo "$as_me:$LINENO: result: $enable_static" >&5
     13257echo "${ECHO_T}$enable_static" >&6
     13258
     13259test "$ld_shlibs_F77" = no && can_build_shared=no
     13260
     13261GCC_F77="$G77"
     13262LD_F77="$LD"
     13263
     13264lt_prog_compiler_wl_F77=
     13265lt_prog_compiler_pic_F77=
     13266lt_prog_compiler_static_F77=
     13267
     13268echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
     13269echo $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
     13445echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
     13446echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
     13447
     13448#
     13449# Check to make sure the PIC flag actually works.
     13450#
     13451if test -n "$lt_prog_compiler_pic_F77"; then
     13452
     13453echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
     13454echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
     13455if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
     13456  echo $ECHO_N "(cached) $ECHO_C" >&6
     13457else
     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
     13485fi
     13486echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
     13487echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
     13488
     13489if 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
     13494else
     13495    lt_prog_compiler_pic_F77=
     13496     lt_prog_compiler_can_build_shared_F77=no
     13497fi
     13498
     13499fi
     13500case "$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    ;;
     13508esac
     13509
     13510echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
     13511echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
     13512if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
     13513  echo $ECHO_N "(cached) $ECHO_C" >&6
     13514else
     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
     13554fi
     13555echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
     13556echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
     13557
     13558
     13559hard_links="nottested"
     13560if 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
     13563echo $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
     13571echo "${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
     13574echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     13575    need_locks=warn
     13576  fi
     13577else
     13578  need_locks=no
     13579fi
     13580
     13581echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     13582echo $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
     13654EOF
     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
     13730EOF
     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~
     13760cat $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
     13903rm -f conftest.$ac_objext conftest$ac_exeext
     13904if { (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
     13926aix_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.
     13929if 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
     13931else
     13932  echo "$as_me: failed program was:" >&5
     13933sed 's/^/| /' conftest.$ac_ext >&5
     13934
     13935fi
     13936rm -f conftest.err conftest.$ac_objext \
     13937      conftest$ac_exeext conftest.$ac_ext
     13938if 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
     13954rm -f conftest.$ac_objext conftest$ac_exeext
     13955if { (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
     13977aix_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.
     13980if 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
     13982else
     13983  echo "$as_me: failed program was:" >&5
     13984sed 's/^/| /' conftest.$ac_ext >&5
     13985
     13986fi
     13987rm -f conftest.err conftest.$ac_objext \
     13988      conftest$ac_exeext conftest.$ac_ext
     13989if 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
     14409echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
     14410echo "${ECHO_T}$ld_shlibs_F77" >&6
     14411test "$ld_shlibs_F77" = no && can_build_shared=no
     14412
     14413variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     14414if test "$GCC" = yes; then
     14415  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     14416fi
     14417
     14418#
     14419# Do we need to explicitly link libc?
     14420#
     14421case "x$archive_cmds_need_lc_F77" in
     14422x|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
     14436echo $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
     14473echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
     14474      ;;
     14475    esac
     14476  fi
     14477  ;;
     14478esac
     14479
     14480echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
     14481echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     14482library_names_spec=
     14483libname_spec='lib$name'
     14484soname_spec=
     14485shrext_cmds=".so"
     14486postinstall_cmds=
     14487postuninstall_cmds=
     14488finish_cmds=
     14489finish_eval=
     14490shlibpath_var=
     14491shlibpath_overrides_runpath=unknown
     14492version_type=none
     14493dynamic_linker="$host_os ld.so"
     14494sys_lib_dlsearch_path_spec="/lib /usr/lib"
     14495if 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
     14506else
     14507  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     14508fi
     14509need_lib_prefix=unknown
     14510hardcode_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
     14514need_version=unknown
     14515
     14516case $host_os in
     14517aix3*)
     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
     14526aix4* | 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
     14570amigaos*)
     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
     14576beos*)
     14577  library_names_spec='${libname}${shared_ext}'
     14578  dynamic_linker="$host_os ld.so"
     14579  shlibpath_var=LIBRARY_PATH
     14580  ;;
     14581
     14582bsdi4*)
     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
     14596cygwin* | 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
     14654darwin* | 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
     14673dgux*)
     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
     14682freebsd1*)
     14683  dynamic_linker=no
     14684  ;;
     14685
     14686kfreebsd*-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
     14698freebsd*)
     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
     14728gnu*)
     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
     14738hpux9* | 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
     14784irix5* | 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.
     14822linux*oldld* | linux*aout* | linux*coff*)
     14823  dynamic_linker=no
     14824  ;;
     14825
     14826# This must be Linux ELF.
     14827linux*)
     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
     14877knetbsd*-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
     14889netbsd*)
     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
     14907newsos6)
     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
     14914nto-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
     14924openbsd*)
     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
     14945os2*)
     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
     14954osf3* | 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
     14965sco3.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
     14972solaris*)
     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
     14985sunos4*)
     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
     14997sysv4 | 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
     15021sysv4*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
     15030uts4*)
     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  ;;
     15040esac
     15041echo "$as_me:$LINENO: result: $dynamic_linker" >&5
     15042echo "${ECHO_T}$dynamic_linker" >&6
     15043test "$dynamic_linker" = no && can_build_shared=no
     15044
     15045echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
     15046echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     15047hardcode_action_F77=
     15048if 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
     15065else
     15066  # We cannot hardcode anything, or else we can only hardcode existing
     15067  # directories.
     15068  hardcode_action_F77=unsupported
     15069fi
     15070echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
     15071echo "${ECHO_T}$hardcode_action_F77" >&6
     15072
     15073if test "$hardcode_action_F77" = relink; then
     15074  # Fast installation is not supported
     15075  enable_fast_install=no
     15076elif test "$shlibpath_overrides_runpath" = yes ||
     15077     test "$enable_shared" = no; then
     15078  # Fast installation is not necessary
     15079  enable_fast_install=needless
     15080fi
     15081
     15082striplib=
     15083old_striplib=
     15084echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
     15085echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
     15086if 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
     15090echo "${ECHO_T}yes" >&6
     15091else
     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
     15098echo "${ECHO_T}yes" >&6
     15099       else
     15100  echo "$as_me:$LINENO: result: no" >&5
     15101echo "${ECHO_T}no" >&6
     15102fi
     15103       ;;
     15104   *)
     15105  echo "$as_me:$LINENO: result: no" >&5
     15106echo "${ECHO_T}no" >&6
     15107    ;;
     15108  esac
     15109fi
     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.
     15117if 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
     15199cfgfile="$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.
     15207SHELL=$lt_SHELL
     15208
     15209# Whether or not to build shared libraries.
     15210build_libtool_libs=$enable_shared
     15211
     15212# Whether or not to build static libraries.
     15213build_old_libs=$enable_static
     15214
     15215# Whether or not to add -lc for building shared libraries.
     15216build_libtool_need_lc=$archive_cmds_need_lc_F77
     15217
     15218# Whether or not to disallow shared libs when runtime libs are static
     15219allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
     15220
     15221# Whether or not to optimize for fast installation.
     15222fast_install=$enable_fast_install
     15223
     15224# The host system.
     15225host_alias=$host_alias
     15226host=$host
     15227
     15228# An echo program that does not interpret backslashes.
     15229echo=$lt_echo
     15230
     15231# The archiver.
     15232AR=$lt_AR
     15233AR_FLAGS=$lt_AR_FLAGS
     15234
     15235# A C compiler.
     15236LTCC=$lt_LTCC
     15237
     15238# A language-specific compiler.
     15239CC=$lt_compiler_F77
     15240
     15241# Is the compiler the GNU C compiler?
     15242with_gcc=$GCC_F77
     15243
     15244# An ERE matcher.
     15245EGREP=$lt_EGREP
     15246
     15247# The linker used to build libraries.
     15248LD=$lt_LD_F77
     15249
     15250# Whether we need hard or soft links.
     15251LN_S=$lt_LN_S
     15252
     15253# A BSD-compatible nm program.
     15254NM=$lt_NM
     15255
     15256# A symbol stripping program
     15257STRIP=$lt_STRIP
     15258
     15259# Used to examine libraries when file_magic_cmd begins "file"
     15260MAGIC_CMD=$MAGIC_CMD
     15261
     15262# Used on cygwin: DLL creation program.
     15263DLLTOOL="$DLLTOOL"
     15264
     15265# Used on cygwin: object dumper.
     15266OBJDUMP="$OBJDUMP"
     15267
     15268# Used on cygwin: assembler.
     15269AS="$AS"
     15270
     15271# The name of the directory that contains temporary libtool files.
     15272objdir=$objdir
     15273
     15274# How to create reloadable object files.
     15275reload_flag=$lt_reload_flag
     15276reload_cmds=$lt_reload_cmds
     15277
     15278# How to pass a linker flag through the compiler.
     15279wl=$lt_lt_prog_compiler_wl_F77
     15280
     15281# Object file suffix (normally "o").
     15282objext="$ac_objext"
     15283
     15284# Old archive suffix (normally "a").
     15285libext="$libext"
     15286
     15287# Shared library suffix (normally ".so").
     15288shrext_cmds='$shrext_cmds'
     15289
     15290# Executable file suffix (normally "").
     15291exeext="$exeext"
     15292
     15293# Additional compiler flags for building library objects.
     15294pic_flag=$lt_lt_prog_compiler_pic_F77
     15295pic_mode=$pic_mode
     15296
     15297# What is the maximum length of a command?
     15298max_cmd_len=$lt_cv_sys_max_cmd_len
     15299
     15300# Does compiler simultaneously support -c and -o options?
     15301compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
     15302
     15303# Must we lock files when doing compilation ?
     15304need_locks=$lt_need_locks
     15305
     15306# Do we need the lib prefix for modules?
     15307need_lib_prefix=$need_lib_prefix
     15308
     15309# Do we need a version for libraries?
     15310need_version=$need_version
     15311
     15312# Whether dlopen is supported.
     15313dlopen_support=$enable_dlopen
     15314
     15315# Whether dlopen of programs is supported.
     15316dlopen_self=$enable_dlopen_self
     15317
     15318# Whether dlopen of statically linked programs is supported.
     15319dlopen_self_static=$enable_dlopen_self_static
     15320
     15321# Compiler flag to prevent dynamic linking.
     15322link_static_flag=$lt_lt_prog_compiler_static_F77
     15323
     15324# Compiler flag to turn off builtin functions.
     15325no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
     15326
     15327# Compiler flag to allow reflexive dlopens.
     15328export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
     15329
     15330# Compiler flag to generate shared objects directly from archives.
     15331whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
     15332
     15333# Compiler flag to generate thread-safe objects.
     15334thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
     15335
     15336# Library versioning type.
     15337version_type=$version_type
     15338
     15339# Format of library name prefix.
     15340libname_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.
     15344library_names_spec=$lt_library_names_spec
     15345
     15346# The coded name of the library, if different from the real name.
     15347soname_spec=$lt_soname_spec
     15348
     15349# Commands used to build and install an old-style archive.
     15350RANLIB=$lt_RANLIB
     15351old_archive_cmds=$lt_old_archive_cmds_F77
     15352old_postinstall_cmds=$lt_old_postinstall_cmds
     15353old_postuninstall_cmds=$lt_old_postuninstall_cmds
     15354
     15355# Create an old-style archive from a shared archive.
     15356old_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.
     15359old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
     15360
     15361# Commands used to build and install a shared archive.
     15362archive_cmds=$lt_archive_cmds_F77
     15363archive_expsym_cmds=$lt_archive_expsym_cmds_F77
     15364postinstall_cmds=$lt_postinstall_cmds
     15365postuninstall_cmds=$lt_postuninstall_cmds
     15366
     15367# Commands used to build a loadable module (assumed same as above if empty)
     15368module_cmds=$lt_module_cmds_F77
     15369module_expsym_cmds=$lt_module_expsym_cmds_F77
     15370
     15371# Commands to strip libraries.
     15372old_striplib=$lt_old_striplib
     15373striplib=$lt_striplib
     15374
     15375# Dependencies to place before the objects being linked to create a
     15376# shared library.
     15377predep_objects=$lt_predep_objects_F77
     15378
     15379# Dependencies to place after the objects being linked to create a
     15380# shared library.
     15381postdep_objects=$lt_postdep_objects_F77
     15382
     15383# Dependencies to place before the objects being linked to create a
     15384# shared library.
     15385predeps=$lt_predeps_F77
     15386
     15387# Dependencies to place after the objects being linked to create a
     15388# shared library.
     15389postdeps=$lt_postdeps_F77
     15390
     15391# The library search path used internally by the compiler when linking
     15392# a shared library.
     15393compiler_lib_search_path=$lt_compiler_lib_search_path_F77
     15394
     15395# Method to check whether dependent libraries are shared objects.
     15396deplibs_check_method=$lt_deplibs_check_method
     15397
     15398# Command to use when deplibs_check_method == file_magic.
     15399file_magic_cmd=$lt_file_magic_cmd
     15400
     15401# Flag that allows shared libraries with undefined symbols to be built.
     15402allow_undefined_flag=$lt_allow_undefined_flag_F77
     15403
     15404# Flag that forces no undefined symbols.
     15405no_undefined_flag=$lt_no_undefined_flag_F77
     15406
     15407# Commands used to finish a libtool library installation in a directory.
     15408finish_cmds=$lt_finish_cmds
     15409
     15410# Same as above, but a single script fragment to be evaled but not shown.
     15411finish_eval=$lt_finish_eval
     15412
     15413# Take the output of nm and produce a listing of raw symbols and C names.
     15414global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     15415
     15416# Transform the output of nm in a proper C declaration
     15417global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     15418
     15419# Transform the output of nm in a C name address pair
     15420global_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.
     15423runpath_var=$runpath_var
     15424
     15425# This is the shared library path variable.
     15426shlibpath_var=$shlibpath_var
     15427
     15428# Is shlibpath searched before the hard-coded library search path?
     15429shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     15430
     15431# How to hardcode a shared library path into an executable.
     15432hardcode_action=$hardcode_action_F77
     15433
     15434# Whether we should hardcode library paths into libraries.
     15435hardcode_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.
     15439hardcode_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.
     15444hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
     15445
     15446# Whether we need a single -rpath flag with a separated argument.
     15447hardcode_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.
     15451hardcode_direct=$hardcode_direct_F77
     15452
     15453# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
     15454# resulting binary.
     15455hardcode_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.
     15459hardcode_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.
     15463hardcode_automatic=$hardcode_automatic_F77
     15464
     15465# Variables whose values should be saved in libtool wrapper scripts and
     15466# restored at relink time.
     15467variables_saved_for_relink="$variables_saved_for_relink"
     15468
     15469# Whether libtool must link a program against all its dependency libraries.
     15470link_all_deplibs=$link_all_deplibs_F77
     15471
     15472# Compile-time system search path for libraries
     15473sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     15474
     15475# Run-time system search path for libraries
     15476sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     15477
     15478# Fix the shell variable \$srcfile for the compiler.
     15479fix_srcfile_path="$fix_srcfile_path_F77"
     15480
     15481# Set to yes if exported symbols are required.
     15482always_export_symbols=$always_export_symbols_F77
     15483
     15484# The commands to list exported symbols.
     15485export_symbols_cmds=$lt_export_symbols_cmds_F77
     15486
     15487# The commands to extract the exported symbol list from a shared archive.
     15488extract_expsyms_cmds=$lt_extract_expsyms_cmds
     15489
     15490# Symbols that should not be listed in the preloaded symbols.
     15491exclude_expsyms=$lt_exclude_expsyms_F77
     15492
     15493# Symbols that must always be exported.
     15494include_expsyms=$lt_include_expsyms_F77
     15495
     15496# ### END LIBTOOL TAG CONFIG: $tagname
     15497
     15498__EOF__
     15499
     15500
     15501else
     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
     15509fi
     15510
     15511
     15512ac_ext=c
     15513ac_cpp='$CPP $CPPFLAGS'
     15514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     15515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     15516ac_compiler_gnu=$ac_cv_c_compiler_gnu
     15517
     15518CC="$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.
     15531ac_ext=java
     15532
     15533# Object file extension for compiled Java test sources.
     15534objext=o
     15535objext_GCJ=$objext
     15536
     15537# Code to be used in simple compile tests
     15538lt_simple_compile_test_code="class foo {}\n"
     15539
     15540# Code to be used in simple link tests
     15541lt_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.
     15546LTCC=${LTCC-"$CC"}
     15547
     15548# Allow CC to be a program name with arguments.
     15549compiler=$CC
     15550
     15551
     15552# Allow CC to be a program name with arguments.
     15553lt_save_CC="$CC"
     15554CC=${GCJ-"gcj"}
     15555compiler=$CC
     15556compiler_GCJ=$CC
     15557
     15558# GCJ did not exist at the time GCC didn't implicitly link libc in.
     15559archive_cmds_need_lc_GCJ=no
     15560
     15561
     15562lt_prog_compiler_no_builtin_flag_GCJ=
     15563
     15564if test "$GCC" = yes; then
     15565  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
     15566
     15567
     15568echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     15569echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
     15570if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
     15571  echo $ECHO_N "(cached) $ECHO_C" >&6
     15572else
     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
     15600fi
     15601echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     15602echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
     15603
     15604if 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"
     15606else
     15607    :
     15608fi
     15609
     15610fi
     15611
     15612lt_prog_compiler_wl_GCJ=
     15613lt_prog_compiler_pic_GCJ=
     15614lt_prog_compiler_static_GCJ=
     15615
     15616echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
     15617echo $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
     15793echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
     15794echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
     15795
     15796#
     15797# Check to make sure the PIC flag actually works.
     15798#
     15799if test -n "$lt_prog_compiler_pic_GCJ"; then
     15800
     15801echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
     15802echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
     15803if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
     15804  echo $ECHO_N "(cached) $ECHO_C" >&6
     15805else
     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
     15833fi
     15834echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
     15835echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
     15836
     15837if 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
     15842else
     15843    lt_prog_compiler_pic_GCJ=
     15844     lt_prog_compiler_can_build_shared_GCJ=no
     15845fi
     15846
     15847fi
     15848case "$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    ;;
     15856esac
     15857
     15858echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
     15859echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
     15860if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
     15861  echo $ECHO_N "(cached) $ECHO_C" >&6
     15862else
     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
     15902fi
     15903echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
     15904echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
     15905
     15906
     15907hard_links="nottested"
     15908if 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
     15911echo $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
     15919echo "${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
     15922echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     15923    need_locks=warn
     15924  fi
     15925else
     15926  need_locks=no
     15927fi
     15928
     15929echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     15930echo $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
     16002EOF
     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
     16078EOF
     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~
     16108cat $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
     16249cat confdefs.h >>conftest.$ac_ext
     16250cat >>conftest.$ac_ext <<_ACEOF
     16251/* end confdefs.h.  */
     16252
     16253int
     16254main ()
     16255{
     16256
     16257  ;
     16258  return 0;
     16259}
     16260_ACEOF
     16261rm -f conftest.$ac_objext conftest$ac_exeext
     16262if { (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
     16284aix_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.
     16287if 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
     16289else
     16290  echo "$as_me: failed program was:" >&5
     16291sed 's/^/| /' conftest.$ac_ext >&5
     16292
     16293fi
     16294rm -f conftest.err conftest.$ac_objext \
     16295      conftest$ac_exeext conftest.$ac_ext
     16296if 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
     16310cat confdefs.h >>conftest.$ac_ext
     16311cat >>conftest.$ac_ext <<_ACEOF
     16312/* end confdefs.h.  */
     16313
     16314int
     16315main ()
     16316{
     16317
     16318  ;
     16319  return 0;
     16320}
     16321_ACEOF
     16322rm -f conftest.$ac_objext conftest$ac_exeext
     16323if { (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
     16345aix_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.
     16348if 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
     16350else
     16351  echo "$as_me: failed program was:" >&5
     16352sed 's/^/| /' conftest.$ac_ext >&5
     16353
     16354fi
     16355rm -f conftest.err conftest.$ac_objext \
     16356      conftest$ac_exeext conftest.$ac_ext
     16357if 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
     16777echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
     16778echo "${ECHO_T}$ld_shlibs_GCJ" >&6
     16779test "$ld_shlibs_GCJ" = no && can_build_shared=no
     16780
     16781variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     16782if test "$GCC" = yes; then
     16783  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     16784fi
     16785
     16786#
     16787# Do we need to explicitly link libc?
     16788#
     16789case "x$archive_cmds_need_lc_GCJ" in
     16790x|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
     16804echo $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
     16841echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
     16842      ;;
     16843    esac
     16844  fi
     16845  ;;
     16846esac
     16847
     16848echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
     16849echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
     16850library_names_spec=
     16851libname_spec='lib$name'
     16852soname_spec=
     16853shrext_cmds=".so"
     16854postinstall_cmds=
     16855postuninstall_cmds=
     16856finish_cmds=
     16857finish_eval=
     16858shlibpath_var=
     16859shlibpath_overrides_runpath=unknown
     16860version_type=none
     16861dynamic_linker="$host_os ld.so"
     16862sys_lib_dlsearch_path_spec="/lib /usr/lib"
     16863if 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
     16874else
     16875  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     16876fi
     16877need_lib_prefix=unknown
     16878hardcode_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
     16882need_version=unknown
     16883
     16884case $host_os in
     16885aix3*)
     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
     16894aix4* | 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
     16938amigaos*)
     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
     16944beos*)
     16945  library_names_spec='${libname}${shared_ext}'
     16946  dynamic_linker="$host_os ld.so"
     16947  shlibpath_var=LIBRARY_PATH
     16948  ;;
     16949
     16950bsdi4*)
     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
     16964cygwin* | 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
     17022darwin* | 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
     17041dgux*)
     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
     17050freebsd1*)
     17051  dynamic_linker=no
     17052  ;;
     17053
     17054kfreebsd*-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
     17066freebsd*)
     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
     17096gnu*)
     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
     17106hpux9* | 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
     17152irix5* | 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.
     17190linux*oldld* | linux*aout* | linux*coff*)
     17191  dynamic_linker=no
     17192  ;;
     17193
     17194# This must be Linux ELF.
     17195linux*)
     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
     17245knetbsd*-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
     17257netbsd*)
     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
     17275newsos6)
     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
     17282nto-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
     17292openbsd*)
     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
     17313os2*)
     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
     17322osf3* | 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
     17333sco3.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
     17340solaris*)
     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
     17353sunos4*)
     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
     17365sysv4 | 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
     17389sysv4*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
     17398uts4*)
     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  ;;
     17408esac
     17409echo "$as_me:$LINENO: result: $dynamic_linker" >&5
     17410echo "${ECHO_T}$dynamic_linker" >&6
     17411test "$dynamic_linker" = no && can_build_shared=no
     17412
     17413echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
     17414echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
     17415hardcode_action_GCJ=
     17416if 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
     17433else
     17434  # We cannot hardcode anything, or else we can only hardcode existing
     17435  # directories.
     17436  hardcode_action_GCJ=unsupported
     17437fi
     17438echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
     17439echo "${ECHO_T}$hardcode_action_GCJ" >&6
     17440
     17441if test "$hardcode_action_GCJ" = relink; then
     17442  # Fast installation is not supported
     17443  enable_fast_install=no
     17444elif test "$shlibpath_overrides_runpath" = yes ||
     17445     test "$enable_shared" = no; then
     17446  # Fast installation is not necessary
     17447  enable_fast_install=needless
     17448fi
     17449
     17450striplib=
     17451old_striplib=
     17452echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
     17453echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
     17454if 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
     17458echo "${ECHO_T}yes" >&6
     17459else
     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
     17466echo "${ECHO_T}yes" >&6
     17467       else
     17468  echo "$as_me:$LINENO: result: no" >&5
     17469echo "${ECHO_T}no" >&6
     17470fi
     17471       ;;
     17472   *)
     17473  echo "$as_me:$LINENO: result: no" >&5
     17474echo "${ECHO_T}no" >&6
     17475    ;;
     17476  esac
     17477fi
     17478
     17479if test "x$enable_dlopen" != xyes; then
     17480  enable_dlopen=unknown
     17481  enable_dlopen_self=unknown
     17482  enable_dlopen_self_static=unknown
     17483else
     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
     17507echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     17508if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     17509  echo $ECHO_N "(cached) $ECHO_C" >&6
     17510else
     17511  ac_check_lib_save_LIBS=$LIBS
     17512LIBS="-ldl  $LIBS"
     17513cat >conftest.$ac_ext <<_ACEOF
     17514/* confdefs.h.  */
     17515_ACEOF
     17516cat confdefs.h >>conftest.$ac_ext
     17517cat >>conftest.$ac_ext <<_ACEOF
     17518/* end confdefs.h.  */
     17519
     17520/* Override any gcc2 internal prototype to avoid an error.  */
     17521#ifdef __cplusplus
     17522extern "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.  */
     17526char dlopen ();
     17527int
     17528main ()
     17529{
     17530dlopen ();
     17531  ;
     17532  return 0;
     17533}
     17534_ACEOF
     17535rm -f conftest.$ac_objext conftest$ac_exeext
     17536if { (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
     17558else
     17559  echo "$as_me: failed program was:" >&5
     17560sed 's/^/| /' conftest.$ac_ext >&5
     17561
     17562ac_cv_lib_dl_dlopen=no
     17563fi
     17564rm -f conftest.err conftest.$ac_objext \
     17565      conftest$ac_exeext conftest.$ac_ext
     17566LIBS=$ac_check_lib_save_LIBS
     17567fi
     17568echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     17569echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
     17570if test $ac_cv_lib_dl_dlopen = yes; then
     17571  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     17572else
     17573
     17574    lt_cv_dlopen="dyld"
     17575    lt_cv_dlopen_libs=
     17576    lt_cv_dlopen_self=yes
     17577
     17578fi
     17579
     17580   ;;
     17581
     17582  *)
     17583    echo "$as_me:$LINENO: checking for shl_load" >&5
     17584echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
     17585if test "${ac_cv_func_shl_load+set}" = set; then
     17586  echo $ECHO_N "(cached) $ECHO_C" >&6
     17587else
     17588  cat >conftest.$ac_ext <<_ACEOF
     17589/* confdefs.h.  */
     17590_ACEOF
     17591cat confdefs.h >>conftest.$ac_ext
     17592cat >>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
     17613extern "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.  */
     17618char 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)
     17623choke me
     17624#else
     17625char (*f) () = shl_load;
     17626#endif
     17627#ifdef __cplusplus
     17628}
     17629#endif
     17630
     17631int
     17632main ()
     17633{
     17634return f != shl_load;
     17635  ;
     17636  return 0;
     17637}
     17638_ACEOF
     17639rm -f conftest.$ac_objext conftest$ac_exeext
     17640if { (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
     17662else
     17663  echo "$as_me: failed program was:" >&5
     17664sed 's/^/| /' conftest.$ac_ext >&5
     17665
     17666ac_cv_func_shl_load=no
     17667fi
     17668rm -f conftest.err conftest.$ac_objext \
     17669      conftest$ac_exeext conftest.$ac_ext
     17670fi
     17671echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     17672echo "${ECHO_T}$ac_cv_func_shl_load" >&6
     17673if test $ac_cv_func_shl_load = yes; then
     17674  lt_cv_dlopen="shl_load"
     17675else
     17676  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     17677echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
     17678if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     17679  echo $ECHO_N "(cached) $ECHO_C" >&6
     17680else
     17681  ac_check_lib_save_LIBS=$LIBS
     17682LIBS="-ldld  $LIBS"
     17683cat >conftest.$ac_ext <<_ACEOF
     17684/* confdefs.h.  */
     17685_ACEOF
     17686cat confdefs.h >>conftest.$ac_ext
     17687cat >>conftest.$ac_ext <<_ACEOF
     17688/* end confdefs.h.  */
     17689
     17690/* Override any gcc2 internal prototype to avoid an error.  */
     17691#ifdef __cplusplus
     17692extern "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.  */
     17696char shl_load ();
     17697int
     17698main ()
     17699{
     17700shl_load ();
     17701  ;
     17702  return 0;
     17703}
     17704_ACEOF
     17705rm -f conftest.$ac_objext conftest$ac_exeext
     17706if { (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
     17728else
     17729  echo "$as_me: failed program was:" >&5
     17730sed 's/^/| /' conftest.$ac_ext >&5
     17731
     17732ac_cv_lib_dld_shl_load=no
     17733fi
     17734rm -f conftest.err conftest.$ac_objext \
     17735      conftest$ac_exeext conftest.$ac_ext
     17736LIBS=$ac_check_lib_save_LIBS
     17737fi
     17738echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     17739echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
     17740if test $ac_cv_lib_dld_shl_load = yes; then
     17741  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
     17742else
     17743  echo "$as_me:$LINENO: checking for dlopen" >&5
     17744echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
     17745if test "${ac_cv_func_dlopen+set}" = set; then
     17746  echo $ECHO_N "(cached) $ECHO_C" >&6
     17747else
     17748  cat >conftest.$ac_ext <<_ACEOF
     17749/* confdefs.h.  */
     17750_ACEOF
     17751cat confdefs.h >>conftest.$ac_ext
     17752cat >>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
     17773extern "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.  */
     17778char 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)
     17783choke me
     17784#else
     17785char (*f) () = dlopen;
     17786#endif
     17787#ifdef __cplusplus
     17788}
     17789#endif
     17790
     17791int
     17792main ()
     17793{
     17794return f != dlopen;
     17795  ;
     17796  return 0;
     17797}
     17798_ACEOF
     17799rm -f conftest.$ac_objext conftest$ac_exeext
     17800if { (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
     17822else
     17823  echo "$as_me: failed program was:" >&5
     17824sed 's/^/| /' conftest.$ac_ext >&5
     17825
     17826ac_cv_func_dlopen=no
     17827fi
     17828rm -f conftest.err conftest.$ac_objext \
     17829      conftest$ac_exeext conftest.$ac_ext
     17830fi
     17831echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     17832echo "${ECHO_T}$ac_cv_func_dlopen" >&6
     17833if test $ac_cv_func_dlopen = yes; then
     17834  lt_cv_dlopen="dlopen"
     17835else
     17836  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     17837echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     17838if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     17839  echo $ECHO_N "(cached) $ECHO_C" >&6
     17840else
     17841  ac_check_lib_save_LIBS=$LIBS
     17842LIBS="-ldl  $LIBS"
     17843cat >conftest.$ac_ext <<_ACEOF
     17844/* confdefs.h.  */
     17845_ACEOF
     17846cat confdefs.h >>conftest.$ac_ext
     17847cat >>conftest.$ac_ext <<_ACEOF
     17848/* end confdefs.h.  */
     17849
     17850/* Override any gcc2 internal prototype to avoid an error.  */
     17851#ifdef __cplusplus
     17852extern "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.  */
     17856char dlopen ();
     17857int
     17858main ()
     17859{
     17860dlopen ();
     17861  ;
     17862  return 0;
     17863}
     17864_ACEOF
     17865rm -f conftest.$ac_objext conftest$ac_exeext
     17866if { (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
     17888else
     17889  echo "$as_me: failed program was:" >&5
     17890sed 's/^/| /' conftest.$ac_ext >&5
     17891
     17892ac_cv_lib_dl_dlopen=no
     17893fi
     17894rm -f conftest.err conftest.$ac_objext \
     17895      conftest$ac_exeext conftest.$ac_ext
     17896LIBS=$ac_check_lib_save_LIBS
     17897fi
     17898echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     17899echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
     17900if test $ac_cv_lib_dl_dlopen = yes; then
     17901  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     17902else
     17903  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
     17904echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
     17905if test "${ac_cv_lib_svld_dlopen+set}" = set; then
     17906  echo $ECHO_N "(cached) $ECHO_C" >&6
     17907else
     17908  ac_check_lib_save_LIBS=$LIBS
     17909LIBS="-lsvld  $LIBS"
     17910cat >conftest.$ac_ext <<_ACEOF
     17911/* confdefs.h.  */
     17912_ACEOF
     17913cat confdefs.h >>conftest.$ac_ext
     17914cat >>conftest.$ac_ext <<_ACEOF
     17915/* end confdefs.h.  */
     17916
     17917/* Override any gcc2 internal prototype to avoid an error.  */
     17918#ifdef __cplusplus
     17919extern "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.  */
     17923char dlopen ();
     17924int
     17925main ()
     17926{
     17927dlopen ();
     17928  ;
     17929  return 0;
     17930}
     17931_ACEOF
     17932rm -f conftest.$ac_objext conftest$ac_exeext
     17933if { (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
     17955else
     17956  echo "$as_me: failed program was:" >&5
     17957sed 's/^/| /' conftest.$ac_ext >&5
     17958
     17959ac_cv_lib_svld_dlopen=no
     17960fi
     17961rm -f conftest.err conftest.$ac_objext \
     17962      conftest$ac_exeext conftest.$ac_ext
     17963LIBS=$ac_check_lib_save_LIBS
     17964fi
     17965echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
     17966echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
     17967if test $ac_cv_lib_svld_dlopen = yes; then
     17968  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
     17969else
     17970  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
     17971echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
     17972if test "${ac_cv_lib_dld_dld_link+set}" = set; then
     17973  echo $ECHO_N "(cached) $ECHO_C" >&6
     17974else
     17975  ac_check_lib_save_LIBS=$LIBS
     17976LIBS="-ldld  $LIBS"
     17977cat >conftest.$ac_ext <<_ACEOF
     17978/* confdefs.h.  */
     17979_ACEOF
     17980cat confdefs.h >>conftest.$ac_ext
     17981cat >>conftest.$ac_ext <<_ACEOF
     17982/* end confdefs.h.  */
     17983
     17984/* Override any gcc2 internal prototype to avoid an error.  */
     17985#ifdef __cplusplus
     17986extern "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.  */
     17990char dld_link ();
     17991int
     17992main ()
     17993{
     17994dld_link ();
     17995  ;
     17996  return 0;
     17997}
     17998_ACEOF
     17999rm -f conftest.$ac_objext conftest$ac_exeext
     18000if { (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
     18022else
     18023  echo "$as_me: failed program was:" >&5
     18024sed 's/^/| /' conftest.$ac_ext >&5
     18025
     18026ac_cv_lib_dld_dld_link=no
     18027fi
     18028rm -f conftest.err conftest.$ac_objext \
     18029      conftest$ac_exeext conftest.$ac_ext
     18030LIBS=$ac_check_lib_save_LIBS
     18031fi
     18032echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
     18033echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
     18034if test $ac_cv_lib_dld_dld_link = yes; then
     18035  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
     18036fi
     18037
     18038
     18039fi
     18040
     18041
     18042fi
     18043
     18044
     18045fi
     18046
     18047
     18048fi
     18049
     18050
     18051fi
     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
     18074echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
     18075if test "${lt_cv_dlopen_self+set}" = set; then
     18076  echo $ECHO_N "(cached) $ECHO_C" >&6
     18077else
     18078          if test "$cross_compiling" = yes; then :
     18079  lt_cv_dlopen_self=cross
     18080else
     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
     18126extern "C" void exit (int);
     18127#endif
     18128
     18129void fnord() { int i=42;}
     18130int 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}
     18144EOF
     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
     18161fi
     18162rm -fr conftest*
     18163
     18164
     18165fi
     18166echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
     18167echo "${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
     18172echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
     18173if test "${lt_cv_dlopen_self_static+set}" = set; then
     18174  echo $ECHO_N "(cached) $ECHO_C" >&6
     18175else
     18176          if test "$cross_compiling" = yes; then :
     18177  lt_cv_dlopen_self_static=cross
     18178else
     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
     18224extern "C" void exit (int);
     18225#endif
     18226
     18227void fnord() { int i=42;}
     18228int 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}
     18242EOF
     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
     18259fi
     18260rm -fr conftest*
     18261
     18262
     18263fi
     18264echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
     18265echo "${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
     18283fi
     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.
     18290if 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
     18372cfgfile="$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.
     18380SHELL=$lt_SHELL
     18381
     18382# Whether or not to build shared libraries.
     18383build_libtool_libs=$enable_shared
     18384
     18385# Whether or not to build static libraries.
     18386build_old_libs=$enable_static
     18387
     18388# Whether or not to add -lc for building shared libraries.
     18389build_libtool_need_lc=$archive_cmds_need_lc_GCJ
     18390
     18391# Whether or not to disallow shared libs when runtime libs are static
     18392allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
     18393
     18394# Whether or not to optimize for fast installation.
     18395fast_install=$enable_fast_install
     18396
     18397# The host system.
     18398host_alias=$host_alias
     18399host=$host
     18400
     18401# An echo program that does not interpret backslashes.
     18402echo=$lt_echo
     18403
     18404# The archiver.
     18405AR=$lt_AR
     18406AR_FLAGS=$lt_AR_FLAGS
     18407
     18408# A C compiler.
     18409LTCC=$lt_LTCC
     18410
     18411# A language-specific compiler.
     18412CC=$lt_compiler_GCJ
     18413
     18414# Is the compiler the GNU C compiler?
     18415with_gcc=$GCC_GCJ
     18416
     18417# An ERE matcher.
     18418EGREP=$lt_EGREP
     18419
     18420# The linker used to build libraries.
     18421LD=$lt_LD_GCJ
     18422
     18423# Whether we need hard or soft links.
     18424LN_S=$lt_LN_S
     18425
     18426# A BSD-compatible nm program.
     18427NM=$lt_NM
     18428
     18429# A symbol stripping program
     18430STRIP=$lt_STRIP
     18431
     18432# Used to examine libraries when file_magic_cmd begins "file"
     18433MAGIC_CMD=$MAGIC_CMD
     18434
     18435# Used on cygwin: DLL creation program.
     18436DLLTOOL="$DLLTOOL"
     18437
     18438# Used on cygwin: object dumper.
     18439OBJDUMP="$OBJDUMP"
     18440
     18441# Used on cygwin: assembler.
     18442AS="$AS"
     18443
     18444# The name of the directory that contains temporary libtool files.
     18445objdir=$objdir
     18446
     18447# How to create reloadable object files.
     18448reload_flag=$lt_reload_flag
     18449reload_cmds=$lt_reload_cmds
     18450
     18451# How to pass a linker flag through the compiler.
     18452wl=$lt_lt_prog_compiler_wl_GCJ
     18453
     18454# Object file suffix (normally "o").
     18455objext="$ac_objext"
     18456
     18457# Old archive suffix (normally "a").
     18458libext="$libext"
     18459
     18460# Shared library suffix (normally ".so").
     18461shrext_cmds='$shrext_cmds'
     18462
     18463# Executable file suffix (normally "").
     18464exeext="$exeext"
     18465
     18466# Additional compiler flags for building library objects.
     18467pic_flag=$lt_lt_prog_compiler_pic_GCJ
     18468pic_mode=$pic_mode
     18469
     18470# What is the maximum length of a command?
     18471max_cmd_len=$lt_cv_sys_max_cmd_len
     18472
     18473# Does compiler simultaneously support -c and -o options?
     18474compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
     18475
     18476# Must we lock files when doing compilation ?
     18477need_locks=$lt_need_locks
     18478
     18479# Do we need the lib prefix for modules?
     18480need_lib_prefix=$need_lib_prefix
     18481
     18482# Do we need a version for libraries?
     18483need_version=$need_version
     18484
     18485# Whether dlopen is supported.
     18486dlopen_support=$enable_dlopen
     18487
     18488# Whether dlopen of programs is supported.
     18489dlopen_self=$enable_dlopen_self
     18490
     18491# Whether dlopen of statically linked programs is supported.
     18492dlopen_self_static=$enable_dlopen_self_static
     18493
     18494# Compiler flag to prevent dynamic linking.
     18495link_static_flag=$lt_lt_prog_compiler_static_GCJ
     18496
     18497# Compiler flag to turn off builtin functions.
     18498no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
     18499
     18500# Compiler flag to allow reflexive dlopens.
     18501export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
     18502
     18503# Compiler flag to generate shared objects directly from archives.
     18504whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
     18505
     18506# Compiler flag to generate thread-safe objects.
     18507thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
     18508
     18509# Library versioning type.
     18510version_type=$version_type
     18511
     18512# Format of library name prefix.
     18513libname_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.
     18517library_names_spec=$lt_library_names_spec
     18518
     18519# The coded name of the library, if different from the real name.
     18520soname_spec=$lt_soname_spec
     18521
     18522# Commands used to build and install an old-style archive.
     18523RANLIB=$lt_RANLIB
     18524old_archive_cmds=$lt_old_archive_cmds_GCJ
     18525old_postinstall_cmds=$lt_old_postinstall_cmds
     18526old_postuninstall_cmds=$lt_old_postuninstall_cmds
     18527
     18528# Create an old-style archive from a shared archive.
     18529old_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.
     18532old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
     18533
     18534# Commands used to build and install a shared archive.
     18535archive_cmds=$lt_archive_cmds_GCJ
     18536archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
     18537postinstall_cmds=$lt_postinstall_cmds
     18538postuninstall_cmds=$lt_postuninstall_cmds
     18539
     18540# Commands used to build a loadable module (assumed same as above if empty)
     18541module_cmds=$lt_module_cmds_GCJ
     18542module_expsym_cmds=$lt_module_expsym_cmds_GCJ
     18543
     18544# Commands to strip libraries.
     18545old_striplib=$lt_old_striplib
     18546striplib=$lt_striplib
     18547
     18548# Dependencies to place before the objects being linked to create a
     18549# shared library.
     18550predep_objects=$lt_predep_objects_GCJ
     18551
     18552# Dependencies to place after the objects being linked to create a
     18553# shared library.
     18554postdep_objects=$lt_postdep_objects_GCJ
     18555
     18556# Dependencies to place before the objects being linked to create a
     18557# shared library.
     18558predeps=$lt_predeps_GCJ
     18559
     18560# Dependencies to place after the objects being linked to create a
     18561# shared library.
     18562postdeps=$lt_postdeps_GCJ
     18563
     18564# The library search path used internally by the compiler when linking
     18565# a shared library.
     18566compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
     18567
     18568# Method to check whether dependent libraries are shared objects.
     18569deplibs_check_method=$lt_deplibs_check_method
     18570
     18571# Command to use when deplibs_check_method == file_magic.
     18572file_magic_cmd=$lt_file_magic_cmd
     18573
     18574# Flag that allows shared libraries with undefined symbols to be built.
     18575allow_undefined_flag=$lt_allow_undefined_flag_GCJ
     18576
     18577# Flag that forces no undefined symbols.
     18578no_undefined_flag=$lt_no_undefined_flag_GCJ
     18579
     18580# Commands used to finish a libtool library installation in a directory.
     18581finish_cmds=$lt_finish_cmds
     18582
     18583# Same as above, but a single script fragment to be evaled but not shown.
     18584finish_eval=$lt_finish_eval
     18585
     18586# Take the output of nm and produce a listing of raw symbols and C names.
     18587global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     18588
     18589# Transform the output of nm in a proper C declaration
     18590global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     18591
     18592# Transform the output of nm in a C name address pair
     18593global_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.
     18596runpath_var=$runpath_var
     18597
     18598# This is the shared library path variable.
     18599shlibpath_var=$shlibpath_var
     18600
     18601# Is shlibpath searched before the hard-coded library search path?
     18602shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     18603
     18604# How to hardcode a shared library path into an executable.
     18605hardcode_action=$hardcode_action_GCJ
     18606
     18607# Whether we should hardcode library paths into libraries.
     18608hardcode_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.
     18612hardcode_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.
     18617hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
     18618
     18619# Whether we need a single -rpath flag with a separated argument.
     18620hardcode_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.
     18624hardcode_direct=$hardcode_direct_GCJ
     18625
     18626# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
     18627# resulting binary.
     18628hardcode_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.
     18632hardcode_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.
     18636hardcode_automatic=$hardcode_automatic_GCJ
     18637
     18638# Variables whose values should be saved in libtool wrapper scripts and
     18639# restored at relink time.
     18640variables_saved_for_relink="$variables_saved_for_relink"
     18641
     18642# Whether libtool must link a program against all its dependency libraries.
     18643link_all_deplibs=$link_all_deplibs_GCJ
     18644
     18645# Compile-time system search path for libraries
     18646sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     18647
     18648# Run-time system search path for libraries
     18649sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     18650
     18651# Fix the shell variable \$srcfile for the compiler.
     18652fix_srcfile_path="$fix_srcfile_path_GCJ"
     18653
     18654# Set to yes if exported symbols are required.
     18655always_export_symbols=$always_export_symbols_GCJ
     18656
     18657# The commands to list exported symbols.
     18658export_symbols_cmds=$lt_export_symbols_cmds_GCJ
     18659
     18660# The commands to extract the exported symbol list from a shared archive.
     18661extract_expsyms_cmds=$lt_extract_expsyms_cmds
     18662
     18663# Symbols that should not be listed in the preloaded symbols.
     18664exclude_expsyms=$lt_exclude_expsyms_GCJ
     18665
     18666# Symbols that must always be exported.
     18667include_expsyms=$lt_include_expsyms_GCJ
     18668
     18669# ### END LIBTOOL TAG CONFIG: $tagname
     18670
     18671__EOF__
     18672
     18673
     18674else
     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
     18682fi
     18683
     18684
     18685ac_ext=c
     18686ac_cpp='$CPP $CPPFLAGS'
     18687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     18688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     18689ac_compiler_gnu=$ac_cv_c_compiler_gnu
     18690
     18691CC="$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.
     18703ac_ext=rc
     18704
     18705# Object file extension for compiled RC test sources.
     18706objext=o
     18707objext_RC=$objext
     18708
     18709# Code to be used in simple compile tests
     18710lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
     18711
     18712# Code to be used in simple link tests
     18713lt_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.
     18718LTCC=${LTCC-"$CC"}
     18719
     18720# Allow CC to be a program name with arguments.
     18721compiler=$CC
     18722
     18723
     18724# Allow CC to be a program name with arguments.
     18725lt_save_CC="$CC"
     18726CC=${RC-"windres"}
     18727compiler=$CC
     18728compiler_RC=$CC
     18729lt_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.
     18735if 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
     18817cfgfile="$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.
     18825SHELL=$lt_SHELL
     18826
     18827# Whether or not to build shared libraries.
     18828build_libtool_libs=$enable_shared
     18829
     18830# Whether or not to build static libraries.
     18831build_old_libs=$enable_static
     18832
     18833# Whether or not to add -lc for building shared libraries.
     18834build_libtool_need_lc=$archive_cmds_need_lc_RC
     18835
     18836# Whether or not to disallow shared libs when runtime libs are static
     18837allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
     18838
     18839# Whether or not to optimize for fast installation.
     18840fast_install=$enable_fast_install
     18841
     18842# The host system.
     18843host_alias=$host_alias
     18844host=$host
     18845
     18846# An echo program that does not interpret backslashes.
     18847echo=$lt_echo
     18848
     18849# The archiver.
     18850AR=$lt_AR
     18851AR_FLAGS=$lt_AR_FLAGS
     18852
     18853# A C compiler.
     18854LTCC=$lt_LTCC
     18855
     18856# A language-specific compiler.
     18857CC=$lt_compiler_RC
     18858
     18859# Is the compiler the GNU C compiler?
     18860with_gcc=$GCC_RC
     18861
     18862# An ERE matcher.
     18863EGREP=$lt_EGREP
     18864
     18865# The linker used to build libraries.
     18866LD=$lt_LD_RC
     18867
     18868# Whether we need hard or soft links.
     18869LN_S=$lt_LN_S
     18870
     18871# A BSD-compatible nm program.
     18872NM=$lt_NM
     18873
     18874# A symbol stripping program
     18875STRIP=$lt_STRIP
     18876
     18877# Used to examine libraries when file_magic_cmd begins "file"
     18878MAGIC_CMD=$MAGIC_CMD
     18879
     18880# Used on cygwin: DLL creation program.
     18881DLLTOOL="$DLLTOOL"
     18882
     18883# Used on cygwin: object dumper.
     18884OBJDUMP="$OBJDUMP"
     18885
     18886# Used on cygwin: assembler.
     18887AS="$AS"
     18888
     18889# The name of the directory that contains temporary libtool files.
     18890objdir=$objdir
     18891
     18892# How to create reloadable object files.
     18893reload_flag=$lt_reload_flag
     18894reload_cmds=$lt_reload_cmds
     18895
     18896# How to pass a linker flag through the compiler.
     18897wl=$lt_lt_prog_compiler_wl_RC
     18898
     18899# Object file suffix (normally "o").
     18900objext="$ac_objext"
     18901
     18902# Old archive suffix (normally "a").
     18903libext="$libext"
     18904
     18905# Shared library suffix (normally ".so").
     18906shrext_cmds='$shrext_cmds'
     18907
     18908# Executable file suffix (normally "").
     18909exeext="$exeext"
     18910
     18911# Additional compiler flags for building library objects.
     18912pic_flag=$lt_lt_prog_compiler_pic_RC
     18913pic_mode=$pic_mode
     18914
     18915# What is the maximum length of a command?
     18916max_cmd_len=$lt_cv_sys_max_cmd_len
     18917
     18918# Does compiler simultaneously support -c and -o options?
     18919compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
     18920
     18921# Must we lock files when doing compilation ?
     18922need_locks=$lt_need_locks
     18923
     18924# Do we need the lib prefix for modules?
     18925need_lib_prefix=$need_lib_prefix
     18926
     18927# Do we need a version for libraries?
     18928need_version=$need_version
     18929
     18930# Whether dlopen is supported.
     18931dlopen_support=$enable_dlopen
     18932
     18933# Whether dlopen of programs is supported.
     18934dlopen_self=$enable_dlopen_self
     18935
     18936# Whether dlopen of statically linked programs is supported.
     18937dlopen_self_static=$enable_dlopen_self_static
     18938
     18939# Compiler flag to prevent dynamic linking.
     18940link_static_flag=$lt_lt_prog_compiler_static_RC
     18941
     18942# Compiler flag to turn off builtin functions.
     18943no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
     18944
     18945# Compiler flag to allow reflexive dlopens.
     18946export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
     18947
     18948# Compiler flag to generate shared objects directly from archives.
     18949whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
     18950
     18951# Compiler flag to generate thread-safe objects.
     18952thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
     18953
     18954# Library versioning type.
     18955version_type=$version_type
     18956
     18957# Format of library name prefix.
     18958libname_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.
     18962library_names_spec=$lt_library_names_spec
     18963
     18964# The coded name of the library, if different from the real name.
     18965soname_spec=$lt_soname_spec
     18966
     18967# Commands used to build and install an old-style archive.
     18968RANLIB=$lt_RANLIB
     18969old_archive_cmds=$lt_old_archive_cmds_RC
     18970old_postinstall_cmds=$lt_old_postinstall_cmds
     18971old_postuninstall_cmds=$lt_old_postuninstall_cmds
     18972
     18973# Create an old-style archive from a shared archive.
     18974old_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.
     18977old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
     18978
     18979# Commands used to build and install a shared archive.
     18980archive_cmds=$lt_archive_cmds_RC
     18981archive_expsym_cmds=$lt_archive_expsym_cmds_RC
     18982postinstall_cmds=$lt_postinstall_cmds
     18983postuninstall_cmds=$lt_postuninstall_cmds
     18984
     18985# Commands used to build a loadable module (assumed same as above if empty)
     18986module_cmds=$lt_module_cmds_RC
     18987module_expsym_cmds=$lt_module_expsym_cmds_RC
     18988
     18989# Commands to strip libraries.
     18990old_striplib=$lt_old_striplib
     18991striplib=$lt_striplib
     18992
     18993# Dependencies to place before the objects being linked to create a
     18994# shared library.
     18995predep_objects=$lt_predep_objects_RC
     18996
     18997# Dependencies to place after the objects being linked to create a
     18998# shared library.
     18999postdep_objects=$lt_postdep_objects_RC
     19000
     19001# Dependencies to place before the objects being linked to create a
     19002# shared library.
     19003predeps=$lt_predeps_RC
     19004
     19005# Dependencies to place after the objects being linked to create a
     19006# shared library.
     19007postdeps=$lt_postdeps_RC
     19008
     19009# The library search path used internally by the compiler when linking
     19010# a shared library.
     19011compiler_lib_search_path=$lt_compiler_lib_search_path_RC
     19012
     19013# Method to check whether dependent libraries are shared objects.
     19014deplibs_check_method=$lt_deplibs_check_method
     19015
     19016# Command to use when deplibs_check_method == file_magic.
     19017file_magic_cmd=$lt_file_magic_cmd
     19018
     19019# Flag that allows shared libraries with undefined symbols to be built.
     19020allow_undefined_flag=$lt_allow_undefined_flag_RC
     19021
     19022# Flag that forces no undefined symbols.
     19023no_undefined_flag=$lt_no_undefined_flag_RC
     19024
     19025# Commands used to finish a libtool library installation in a directory.
     19026finish_cmds=$lt_finish_cmds
     19027
     19028# Same as above, but a single script fragment to be evaled but not shown.
     19029finish_eval=$lt_finish_eval
     19030
     19031# Take the output of nm and produce a listing of raw symbols and C names.
     19032global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     19033
     19034# Transform the output of nm in a proper C declaration
     19035global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     19036
     19037# Transform the output of nm in a C name address pair
     19038global_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.
     19041runpath_var=$runpath_var
     19042
     19043# This is the shared library path variable.
     19044shlibpath_var=$shlibpath_var
     19045
     19046# Is shlibpath searched before the hard-coded library search path?
     19047shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     19048
     19049# How to hardcode a shared library path into an executable.
     19050hardcode_action=$hardcode_action_RC
     19051
     19052# Whether we should hardcode library paths into libraries.
     19053hardcode_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.
     19057hardcode_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.
     19062hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
     19063
     19064# Whether we need a single -rpath flag with a separated argument.
     19065hardcode_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.
     19069hardcode_direct=$hardcode_direct_RC
     19070
     19071# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
     19072# resulting binary.
     19073hardcode_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.
     19077hardcode_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.
     19081hardcode_automatic=$hardcode_automatic_RC
     19082
     19083# Variables whose values should be saved in libtool wrapper scripts and
     19084# restored at relink time.
     19085variables_saved_for_relink="$variables_saved_for_relink"
     19086
     19087# Whether libtool must link a program against all its dependency libraries.
     19088link_all_deplibs=$link_all_deplibs_RC
     19089
     19090# Compile-time system search path for libraries
     19091sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     19092
     19093# Run-time system search path for libraries
     19094sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     19095
     19096# Fix the shell variable \$srcfile for the compiler.
     19097fix_srcfile_path="$fix_srcfile_path_RC"
     19098
     19099# Set to yes if exported symbols are required.
     19100always_export_symbols=$always_export_symbols_RC
     19101
     19102# The commands to list exported symbols.
     19103export_symbols_cmds=$lt_export_symbols_cmds_RC
     19104
     19105# The commands to extract the exported symbol list from a shared archive.
     19106extract_expsyms_cmds=$lt_extract_expsyms_cmds
     19107
     19108# Symbols that should not be listed in the preloaded symbols.
     19109exclude_expsyms=$lt_exclude_expsyms_RC
     19110
     19111# Symbols that must always be exported.
     19112include_expsyms=$lt_include_expsyms_RC
     19113
     19114# ### END LIBTOOL TAG CONFIG: $tagname
     19115
     19116__EOF__
     19117
     19118
     19119else
     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
     19127fi
     19128
     19129
     19130ac_ext=c
     19131ac_cpp='$CPP $CPPFLAGS'
     19132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19134ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19135
     19136CC="$lt_save_CC"
     19137
     19138        ;;
     19139
     19140      *)
     19141        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
     19142echo "$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
     19162echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
     19163   { (exit 1); exit 1; }; }
     19164  fi
     19165fi
    783119166
    783219167
     
    783919174
    784019175# Prevent multiple expansion
     19176
     19177
     19178
     19179
     19180
     19181
     19182
     19183
     19184
     19185
     19186
     19187
     19188
     19189
     19190
     19191
     19192
     19193
    784119194
    784219195
     
    798419337LIBS="-lsla  $LIBS"
    798519338cat >conftest.$ac_ext <<_ACEOF
    7986 #line $LINENO "configure"
    798719339/* confdefs.h.  */
    798819340_ACEOF
     
    800219354rm -f conftest.$ac_objext conftest$ac_exeext
    800319355if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8004   (eval $ac_link) 2>&5
     19356  (eval $ac_link) 2>conftest.er1
     19357  ac_status=$?
     19358  grep -v '^ *+' conftest.er1 >conftest.err
     19359  rm -f conftest.er1
     19360  cat conftest.err >&5
     19361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19362  (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
    800519367  ac_status=$?
    800619368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8007   (exit $ac_status); } &&
    8008         { ac_try='test -s conftest$ac_exeext'
     19369  (exit $ac_status); }; } &&
     19370        { ac_try='test -s conftest$ac_exeext'
    800919371  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    801019372  (eval $ac_try) 2>&5
     
    801919381ac_cv_lib_sla_main=no
    802019382fi
    8021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19383rm -f conftest.err conftest.$ac_objext \
     19384      conftest$ac_exeext conftest.$ac_ext
    802219385LIBS=$ac_check_lib_save_LIBS
    802319386fi
     
    804619409LIBS="-lcfitsio  $LIBS"
    804719410cat >conftest.$ac_ext <<_ACEOF
    8048 #line $LINENO "configure"
    804919411/* confdefs.h.  */
    805019412_ACEOF
     
    806419426rm -f conftest.$ac_objext conftest$ac_exeext
    806519427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8066   (eval $ac_link) 2>&5
     19428  (eval $ac_link) 2>conftest.er1
     19429  ac_status=$?
     19430  grep -v '^ *+' conftest.er1 >conftest.err
     19431  rm -f conftest.er1
     19432  cat conftest.err >&5
     19433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19434  (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
    806719439  ac_status=$?
    806819440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8069   (exit $ac_status); } &&
    8070         { ac_try='test -s conftest$ac_exeext'
     19441  (exit $ac_status); }; } &&
     19442        { ac_try='test -s conftest$ac_exeext'
    807119443  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    807219444  (eval $ac_try) 2>&5
     
    808119453ac_cv_lib_cfitsio_main=no
    808219454fi
    8083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19455rm -f conftest.err conftest.$ac_objext \
     19456      conftest$ac_exeext conftest.$ac_ext
    808419457LIBS=$ac_check_lib_save_LIBS
    808519458fi
     
    810819481LIBS="-lfftw3f  $LIBS"
    810919482cat >conftest.$ac_ext <<_ACEOF
    8110 #line $LINENO "configure"
    811119483/* confdefs.h.  */
    811219484_ACEOF
     
    812619498rm -f conftest.$ac_objext conftest$ac_exeext
    812719499if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8128   (eval $ac_link) 2>&5
     19500  (eval $ac_link) 2>conftest.er1
     19501  ac_status=$?
     19502  grep -v '^ *+' conftest.er1 >conftest.err
     19503  rm -f conftest.er1
     19504  cat conftest.err >&5
     19505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19506  (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
    812919511  ac_status=$?
    813019512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8131   (exit $ac_status); } &&
    8132         { ac_try='test -s conftest$ac_exeext'
     19513  (exit $ac_status); }; } &&
     19514        { ac_try='test -s conftest$ac_exeext'
    813319515  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    813419516  (eval $ac_try) 2>&5
     
    814319525ac_cv_lib_fftw3f_main=no
    814419526fi
    8145 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19527rm -f conftest.err conftest.$ac_objext \
     19528      conftest$ac_exeext conftest.$ac_ext
    814619529LIBS=$ac_check_lib_save_LIBS
    814719530fi
     
    817019553LIBS="-lgsl  $LIBS"
    817119554cat >conftest.$ac_ext <<_ACEOF
    8172 #line $LINENO "configure"
    817319555/* confdefs.h.  */
    817419556_ACEOF
     
    818819570rm -f conftest.$ac_objext conftest$ac_exeext
    818919571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8190   (eval $ac_link) 2>&5
     19572  (eval $ac_link) 2>conftest.er1
     19573  ac_status=$?
     19574  grep -v '^ *+' conftest.er1 >conftest.err
     19575  rm -f conftest.er1
     19576  cat conftest.err >&5
     19577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19578  (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
    819119583  ac_status=$?
    819219584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8193   (exit $ac_status); } &&
    8194         { ac_try='test -s conftest$ac_exeext'
     19585  (exit $ac_status); }; } &&
     19586        { ac_try='test -s conftest$ac_exeext'
    819519587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    819619588  (eval $ac_try) 2>&5
     
    820519597ac_cv_lib_gsl_main=no
    820619598fi
    8207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19599rm -f conftest.err conftest.$ac_objext \
     19600      conftest$ac_exeext conftest.$ac_ext
    820819601LIBS=$ac_check_lib_save_LIBS
    820919602fi
     
    823219625LIBS="-lgslcblas  $LIBS"
    823319626cat >conftest.$ac_ext <<_ACEOF
    8234 #line $LINENO "configure"
    823519627/* confdefs.h.  */
    823619628_ACEOF
     
    825019642rm -f conftest.$ac_objext conftest$ac_exeext
    825119643if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8252   (eval $ac_link) 2>&5
     19644  (eval $ac_link) 2>conftest.er1
     19645  ac_status=$?
     19646  grep -v '^ *+' conftest.er1 >conftest.err
     19647  rm -f conftest.er1
     19648  cat conftest.err >&5
     19649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19650  (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
    825319655  ac_status=$?
    825419656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8255   (exit $ac_status); } &&
    8256         { ac_try='test -s conftest$ac_exeext'
     19657  (exit $ac_status); }; } &&
     19658        { ac_try='test -s conftest$ac_exeext'
    825719659  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    825819660  (eval $ac_try) 2>&5
     
    826719669ac_cv_lib_gslcblas_main=no
    826819670fi
    8269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19671rm -f conftest.err conftest.$ac_objext \
     19672      conftest$ac_exeext conftest.$ac_ext
    827019673LIBS=$ac_check_lib_save_LIBS
    827119674fi
     
    829419697LIBS="-lpslib  $LIBS"
    829519698cat >conftest.$ac_ext <<_ACEOF
    8296 #line $LINENO "configure"
    829719699/* confdefs.h.  */
    829819700_ACEOF
     
    831219714rm -f conftest.$ac_objext conftest$ac_exeext
    831319715if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8314   (eval $ac_link) 2>&5
     19716  (eval $ac_link) 2>conftest.er1
     19717  ac_status=$?
     19718  grep -v '^ *+' conftest.er1 >conftest.err
     19719  rm -f conftest.er1
     19720  cat conftest.err >&5
     19721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19722  (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
    831519727  ac_status=$?
    831619728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8317   (exit $ac_status); } &&
    8318         { ac_try='test -s conftest$ac_exeext'
     19729  (exit $ac_status); }; } &&
     19730        { ac_try='test -s conftest$ac_exeext'
    831919731  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    832019732  (eval $ac_try) 2>&5
     
    832919741ac_cv_lib_pslib_main=no
    833019742fi
    8331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19743rm -f conftest.err conftest.$ac_objext \
     19744      conftest$ac_exeext conftest.$ac_ext
    833219745LIBS=$ac_check_lib_save_LIBS
    833319746fi
     
    837719790      # substitution turns \\\\ into \\, and sed turns \\ into \).
    837819791      sed -n \
    8379         "s/'/'\\\\''/g;
    8380           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     19792        "s/'/'\\\\''/g;
     19793          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    838119794      ;;
    838219795    *)
    838319796      # `set' quotes correctly as required by POSIX, so do not add quotes.
    838419797      sed -n \
    8385         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     19798        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    838619799      ;;
    838719800    esac;
     
    841319826# (actually we leave an empty line to preserve line numbers).
    841419827if test "x$srcdir" = x.; then
    8415   ac_vpsub='/^[         ]*VPATH[        ]*=/{
     19828  ac_vpsub='/^[  ]*VPATH[        ]*=/{
    841619829s/:*\$(srcdir):*/:/;
    841719830s/:*\${srcdir}:*/:/;
    841819831s/:*@srcdir@:*/:/;
    8419 s/^\([^=]*=[    ]*\):*/\1/;
     19832s/^\([^=]*=[     ]*\):*/\1/;
    842019833s/:*$//;
    8421 s/^[^=]*=[      ]*$//;
     19834s/^[^=]*=[       ]*$//;
    842219835}'
    842319836fi
     
    843019843  # 1. Remove the extension, and $U if already installed.
    843119844  ac_i=`echo "$ac_i" |
    8432         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     19845        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    843319846  # 2. Add them.
    843419847  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    844419857Usually this means the macro was only invoked conditionally." >&5
    844519858echo "$as_me: error: conditional \"AMDEP\" was never defined.
     19859Usually this means the macro was only invoked conditionally." >&2;}
     19860   { (exit 1); exit 1; }; }
     19861fi
     19862if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     19863  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
     19864Usually this means the macro was only invoked conditionally." >&5
     19865echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
     19866Usually this means the macro was only invoked conditionally." >&2;}
     19867   { (exit 1); exit 1; }; }
     19868fi
     19869if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
     19870  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
     19871Usually this means the macro was only invoked conditionally." >&5
     19872echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
    844619873Usually this means the macro was only invoked conditionally." >&2;}
    844719874   { (exit 1); exit 1; }; }
     
    848119908  set -o posix
    848219909fi
     19910DUALCASE=1; export DUALCASE # for MKS sh
    848319911
    848419912# Support unset when possible.
    8485 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     19913if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    848619914  as_unset=unset
    848719915else
     
    850219930  LC_TELEPHONE LC_TIME
    850319931do
    8504   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     19932  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    850519933    eval $as_var=C; export $as_var
    850619934  else
     
    868120109  as_mkdir_p=:
    868220110else
     20111  test -d ./-p && rmdir ./-p
    868320112  as_mkdir_p=false
    868420113fi
     
    868720116
    868820117# Sed expression to map a string onto a valid CPP name.
    8689 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     20118as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    869020119
    869120120# Sed expression to map a string onto a valid variable name.
    8692 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     20121as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    869320122
    869420123
     
    871720146
    871820147This file was extended by $as_me, which was
    8719 generated by GNU Autoconf 2.57.  Invocation command line was
     20148generated by GNU Autoconf 2.59.  Invocation command line was
    872020149
    872120150  CONFIG_FILES    = $CONFIG_FILES
     
    876120190      --recheck    update $as_me by reconfiguring in the same conditions
    876220191  --file=FILE[:TEMPLATE]
    8763                    instantiate the configuration file FILE
     20192                   instantiate the configuration file FILE
    876420193  --header=FILE[:TEMPLATE]
    8765                    instantiate the configuration header FILE
     20194                   instantiate the configuration header FILE
    876620195
    876720196Configuration files:
     
    878020209ac_cs_version="\\
    878120210config.status
    8782 configured by $0, generated by GNU Autoconf 2.57,
     20211configured by $0, generated by GNU Autoconf 2.59,
    878320212  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    878420213
    8785 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    8786 Free Software Foundation, Inc.
     20214Copyright (C) 2003 Free Software Foundation, Inc.
    878720215This config.status script is free software; the Free Software Foundation
    878820216gives unlimited permission to copy, distribute and modify it."
     
    898320411s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    898420412s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     20413s,@CYGPATH_W@,$CYGPATH_W,;t t
    898520414s,@PACKAGE@,$PACKAGE,;t t
    898620415s,@VERSION@,$VERSION,;t t
     
    899520424s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
    899620425s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
     20426s,@mkdir_p@,$mkdir_p,;t t
    899720427s,@AWK@,$AWK,;t t
    899820428s,@SET_MAKE@,$SET_MAKE,;t t
     20429s,@am__leading_dot@,$am__leading_dot,;t t
    899920430s,@CC@,$CC,;t t
    900020431s,@CFLAGS@,$CFLAGS,;t t
     
    901120442s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
    901220443s,@CCDEPMODE@,$CCDEPMODE,;t t
     20444s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
     20445s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    901320446s,@build@,$build,;t t
    901420447s,@build_cpu@,$build_cpu,;t t
     
    901920452s,@host_vendor@,$host_vendor,;t t
    902020453s,@host_os@,$host_os,;t t
     20454s,@EGREP@,$EGREP,;t t
    902120455s,@LN_S@,$LN_S,;t t
    902220456s,@ECHO@,$ECHO,;t t
     20457s,@AR@,$AR,;t t
     20458s,@ac_ct_AR@,$ac_ct_AR,;t t
    902320459s,@RANLIB@,$RANLIB,;t t
    902420460s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    902520461s,@CPP@,$CPP,;t t
    9026 s,@EGREP@,$EGREP,;t t
     20462s,@CXX@,$CXX,;t t
     20463s,@CXXFLAGS@,$CXXFLAGS,;t t
     20464s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     20465s,@CXXDEPMODE@,$CXXDEPMODE,;t t
     20466s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
     20467s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
     20468s,@CXXCPP@,$CXXCPP,;t t
     20469s,@F77@,$F77,;t t
     20470s,@FFLAGS@,$FFLAGS,;t t
     20471s,@ac_ct_F77@,$ac_ct_F77,;t t
    902720472s,@LIBTOOL@,$LIBTOOL,;t t
    902820473s,@GSL_CONFIG@,$GSL_CONFIG,;t t
     
    905820503  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    905920504      if test -z "$ac_sed_cmds"; then
    9060         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     20505        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    906120506      else
    9062         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     20507        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    906320508      fi
    906420509      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    907820523  case $ac_file in
    907920524  - | *:- | *:-:* ) # input from stdin
    9080         cat >$tmp/stdin
    9081         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    9082         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20525        cat >$tmp/stdin
     20526        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     20527        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    908320528  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    9084         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20529        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    908520530  * )   ac_file_in=$ac_file.in ;;
    908620531  esac
     
    908920534  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    909020535$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9091         X"$ac_file" : 'X\(//\)[^/]' \| \
    9092         X"$ac_file" : 'X\(//\)$' \| \
    9093         X"$ac_file" : 'X\(/\)' \| \
    9094         .     : '\(.\)' 2>/dev/null ||
     20536        X"$ac_file" : 'X\(//\)[^/]' \| \
     20537        X"$ac_file" : 'X\(//\)$' \| \
     20538        X"$ac_file" : 'X\(/\)' \| \
     20539        .     : '\(.\)' 2>/dev/null ||
    909520540echo X"$ac_file" |
    909620541    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    910820553      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    910920554$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9110         X"$as_dir" : 'X\(//\)[^/]' \| \
    9111         X"$as_dir" : 'X\(//\)$' \| \
    9112         X"$as_dir" : 'X\(/\)' \| \
    9113         .     : '\(.\)' 2>/dev/null ||
     20555        X"$as_dir" : 'X\(//\)[^/]' \| \
     20556        X"$as_dir" : 'X\(//\)$' \| \
     20557        X"$as_dir" : 'X\(/\)' \| \
     20558        .     : '\(.\)' 2>/dev/null ||
    911420559echo X"$as_dir" |
    911520560    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    914920594    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    915020595esac
    9151 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    9152 # absolute.
    9153 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    9154 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    9155 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    9156 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     20596
     20597# Do not use `cd foo && pwd` to compute absolute paths, because
     20598# the directories may not exist.
     20599case `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;;
     20607esac
     20608case $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;;
     20616esac
     20617case $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;;
     20625esac
     20626case $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;;
     20634esac
    915720635
    915820636
     
    917620654  fi
    917720655  configure_input=$configure_input"Generated from `echo $ac_file_in |
    9178                                      sed 's,.*/,,'` by configure."
     20656                                     sed 's,.*/,,'` by configure."
    917920657
    918020658  # First look for the input files in the build tree, otherwise in the
     
    918520663      -) echo $tmp/stdin ;;
    918620664      [\\/$]*)
    9187         # Absolute (can't be DOS-style, as IFS=:)
    9188         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     20665        # Absolute (can't be DOS-style, as IFS=:)
     20666        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    918920667echo "$as_me: error: cannot find input file: $f" >&2;}
    919020668   { (exit 1); exit 1; }; }
    9191          echo $f;;
     20669         echo "$f";;
    919220670      *) # Relative
    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
     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
    920220680echo "$as_me: error: cannot find input file: $f" >&2;}
    920320681   { (exit 1); exit 1; }; }
    9204         fi;;
     20682        fi;;
    920520683      esac
    920620684    done` || { (exit 1); exit 1; }
     
    924420722#
    924520723# ac_d sets the value in "#define NAME VALUE" lines.
    9246 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
    9247 ac_dB='[        ].*$,\1#\2'
     20724ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
     20725ac_dB='[         ].*$,\1#\2'
    924820726ac_dC=' '
    924920727ac_dD=',;t'
    925020728# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    9251 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     20729ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    925220730ac_uB='$,\1#\2define\3'
    925320731ac_uC=' '
     
    925820736  case $ac_file in
    925920737  - | *:- | *:-:* ) # input from stdin
    9260         cat >$tmp/stdin
    9261         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    9262         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20738        cat >$tmp/stdin
     20739        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     20740        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    926320741  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    9264         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20742        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    926520743  * )   ac_file_in=$ac_file.in ;;
    926620744  esac
     
    927620754      -) echo $tmp/stdin ;;
    927720755      [\\/$]*)
    9278         # Absolute (can't be DOS-style, as IFS=:)
    9279         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     20756        # Absolute (can't be DOS-style, as IFS=:)
     20757        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    928020758echo "$as_me: error: cannot find input file: $f" >&2;}
    928120759   { (exit 1); exit 1; }; }
    9282          echo $f;;
     20760         # Do quote $f, to prevent DOS paths from being IFS'd.
     20761         echo "$f";;
    928320762      *) # Relative
    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
     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
    929320772echo "$as_me: error: cannot find input file: $f" >&2;}
    929420773   { (exit 1); exit 1; }; }
    9295         fi;;
     20774        fi;;
    929620775      esac
    929720776    done` || { (exit 1); exit 1; }
    929820777  # Remove the trailing spaces.
    9299   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
     20778  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
    930020779
    930120780_ACEOF
     
    932020799t clear
    932120800: clear
    9322 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     20801s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    932320802t end
    9324 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     20803s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    932520804: end
    932620805_ACEOF
     
    933620815# on some systems where configure will not decide to define it.
    933720816cat >>conftest.undefs <<\_ACEOF
    9338 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     20817s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    933920818_ACEOF
    934020819
     
    934220821# of here documents, and old seds have small limits too (100 cmds).
    934320822echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    9344 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     20823echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    934520824echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    934620825echo '  :' >>$CONFIG_STATUS
     
    935120830  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    935220831  # Speed up: don't consider the non `#define' lines.
    9353   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
     20832  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
    935420833  # Work around the forget-to-reset-the-flag bug.
    935520834  echo 't clr' >>$CONFIG_STATUS
     
    937820857  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    937920858  # Speed up: don't consider the non `#undef'
    9380   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     20859  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    938120860  # Work around the forget-to-reset-the-flag bug.
    938220861  echo 't clr' >>$CONFIG_STATUS
     
    941220891      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    941320892$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9414         X"$ac_file" : 'X\(//\)[^/]' \| \
    9415         X"$ac_file" : 'X\(//\)$' \| \
    9416         X"$ac_file" : 'X\(/\)' \| \
    9417         .     : '\(.\)' 2>/dev/null ||
     20893        X"$ac_file" : 'X\(//\)[^/]' \| \
     20894        X"$ac_file" : 'X\(//\)$' \| \
     20895        X"$ac_file" : 'X\(/\)' \| \
     20896        .     : '\(.\)' 2>/dev/null ||
    941820897echo X"$ac_file" |
    941920898    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    943120910      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    943220911$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9433         X"$as_dir" : 'X\(//\)[^/]' \| \
    9434         X"$as_dir" : 'X\(//\)$' \| \
    9435         X"$as_dir" : 'X\(/\)' \| \
    9436         .     : '\(.\)' 2>/dev/null ||
     20912        X"$as_dir" : 'X\(//\)[^/]' \| \
     20913        X"$as_dir" : 'X\(//\)$' \| \
     20914        X"$as_dir" : 'X\(/\)' \| \
     20915        .     : '\(.\)' 2>/dev/null ||
    943720916echo X"$as_dir" |
    943820917    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    945420933    rm -f $tmp/config.h
    945520934  fi
    9456   # Run the commands associated with the file.
    9457   case $ac_file in
    9458     src/config.h ) # update the timestamp
    9459 echo 'timestamp for src/config.h' >"src/stamp-h1"
    9460  ;;
     20935# Compute $ac_file's index in $config_headers.
     20936_am_stamp_count=1
     20937for _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` ;;
    946120943  esac
     20944done
     20945echo "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 ||
     20951echo 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
    946220957done
    946320958_ACEOF
     
    947220967  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    947320968$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9474         X"$ac_dest" : 'X\(//\)[^/]' \| \
    9475         X"$ac_dest" : 'X\(//\)$' \| \
    9476         X"$ac_dest" : 'X\(/\)' \| \
    9477         .     : '\(.\)' 2>/dev/null ||
     20969        X"$ac_dest" : 'X\(//\)[^/]' \| \
     20970        X"$ac_dest" : 'X\(//\)$' \| \
     20971        X"$ac_dest" : 'X\(/\)' \| \
     20972        .     : '\(.\)' 2>/dev/null ||
    947820973echo X"$ac_dest" |
    947920974    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    948220977          /^X\(\/\).*/{ s//\1/; q; }
    948320978          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 ||
     20992echo 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
     21001echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     21002   { (exit 1); exit 1; }; }; }
     21003
    948421004  ac_builddir=.
    948521005
     
    950721027    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    950821028esac
    9509 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    9510 # absolute.
    9511 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    9512 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    9513 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    9514 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     21029
     21030# Do not use `cd foo && pwd` to compute absolute paths, because
     21031# the directories may not exist.
     21032case `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;;
     21040esac
     21041case $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;;
     21049esac
     21050case $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;;
     21058esac
     21059case $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;;
     21067esac
    951521068
    951621069
     
    953021083    dirpart=`(dirname "$mf") 2>/dev/null ||
    953121084$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9532         X"$mf" : 'X\(//\)[^/]' \| \
    9533         X"$mf" : 'X\(//\)$' \| \
    9534         X"$mf" : 'X\(/\)' \| \
    9535         .     : '\(.\)' 2>/dev/null ||
     21085        X"$mf" : 'X\(//\)[^/]' \| \
     21086        X"$mf" : 'X\(//\)$' \| \
     21087        X"$mf" : 'X\(/\)' \| \
     21088        .     : '\(.\)' 2>/dev/null ||
    953621089echo X"$mf" |
    953721090    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    954621099  # Extract the definition of DEP_FILES from the Makefile without
    954721100  # running `make'.
    9548   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     21101  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    954921102  test -z "$DEPDIR" && continue
    955021103  # When using ansi2knr, U may be empty or an underscore; expand it
    9551   U=`sed -n -e '/^U = / s///p' < "$mf"`
     21104  U=`sed -n 's/^U = //p' < "$mf"`
    955221105  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    955321106  # We invoke sed twice because it is the simplest approach to
    955421107  # changing $(DEPDIR) to its actual value in the expansion.
    9555   for file in `sed -n -e '
     21108  for file in `sed -n '
    955621109    /^DEP_FILES = .*\\\\$/ {
    955721110      s/^DEP_FILES = //
     
    956921122    fdir=`(dirname "$file") 2>/dev/null ||
    957021123$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9571         X"$file" : 'X\(//\)[^/]' \| \
    9572         X"$file" : 'X\(//\)$' \| \
    9573         X"$file" : 'X\(/\)' \| \
    9574         .     : '\(.\)' 2>/dev/null ||
     21124        X"$file" : 'X\(//\)[^/]' \| \
     21125        X"$file" : 'X\(//\)$' \| \
     21126        X"$file" : 'X\(/\)' \| \
     21127        .     : '\(.\)' 2>/dev/null ||
    957521128echo X"$file" |
    957621129    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    958821141      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    958921142$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9590         X"$as_dir" : 'X\(//\)[^/]' \| \
    9591         X"$as_dir" : 'X\(//\)$' \| \
    9592         X"$as_dir" : 'X\(/\)' \| \
    9593         .     : '\(.\)' 2>/dev/null ||
     21143        X"$as_dir" : 'X\(//\)[^/]' \| \
     21144        X"$as_dir" : 'X\(//\)$' \| \
     21145        X"$as_dir" : 'X\(/\)' \| \
     21146        .     : '\(.\)' 2>/dev/null ||
    959421147echo X"$as_dir" |
    959521148    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Note: See TracChangeset for help on using the changeset viewer.